Number of n-digit positive integers where all pairs of consecutive digits have a difference of at least 5.

A383077

Number of n-digit positive integers where all pairs of consecutive digits have a difference of at least 5.

Terms

    a(0) =9a(1) =25a(2) =95a(3) =325a(4) =1152a(5) =4035a(6) =14191a(7) =49840a(8) =175126a(9) =615251a(10) =2161615a(11) =7594445a(12) =26681890a(13) =93742420a(14) =329348786a(15) =1157113228a(16) =4065328917a(17) =14282870761a(18) =50180539756a(19) =176301151441a(20) =619405374858

External references