Number of length-n 0..4 arrays with no repeated value differing from the previous repeated value by other than plus two, zero or minus 1.

A269615

Number of length-n 0..4 arrays with no repeated value differing from the previous repeated value by other than plus two, zero or minus 1.

Terms

    a(0) =5a(1) =25a(2) =125a(3) =612a(4) =2956a(5) =14125a(6) =66925a(7) =314935a(8) =1473779a(9) =6865098a(10) =31856590a(11) =147352985a(12) =679742085a(13) =3128486473a(14) =14370696813a(15) =65902020548a(16) =301787376436

External references