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

A287809

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

Terms

    a(0) =1a(1) =7a(2) =39a(3) =219a(4) =1231a(5) =6921a(6) =38913a(7) =218789a(8) =1230147a(9) =6916539a(10) =38888455a(11) =218651553a(12) =1229375193a(13) =6912200477a(14) =38864063403a(15) =218514412227

External references