Number of septenary sequences of length n such that no two consecutive terms have distance 5.

A287811

Number of septenary sequences of length n such that no two consecutive terms have distance 5.

Terms

    a(0) =1a(1) =7a(2) =45a(3) =291a(4) =1881a(5) =12159a(6) =78597a(7) =508059a(8) =3284145a(9) =21229047a(10) =137226717a(11) =887047443a(12) =5733964809a(13) =37064931183a(14) =239591481525

External references