Number of senary sequences of length n such that no two consecutive terms have distance 2.

A287807

Number of senary sequences of length n such that no two consecutive terms have distance 2.

Terms

    a(0) =1a(1) =6a(2) =28a(3) =132a(4) =624a(5) =2952a(6) =13968a(7) =66096a(8) =312768a(9) =1480032a(10) =7003584a(11) =33141312a(12) =156826368a(13) =742110336a(14) =3511703808a(15) =16617560832a(16) =78635142144a(17) =372105487872

External references