Number of quinary sequences of length n such that no two consecutive terms have distance 1.

A287804

Number of quinary sequences of length n such that no two consecutive terms have distance 1.

Terms

    a(0) =1a(1) =5a(2) =17a(3) =59a(4) =205a(5) =713a(6) =2481a(7) =8635a(8) =30057a(9) =104629a(10) =364225a(11) =1267923a(12) =4413861a(13) =15365465a(14) =53490097a(15) =186209299a(16) =648230545a(17) =2256616133a(18) =7855718641a(19) =27347281995a(20) =95201200637a(21) =331413874569

External references