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

A269635

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

Terms

    a(0) =4a(1) =16a(2) =60a(3) =221a(4) =796a(5) =2828a(6) =9928a(7) =34537a(8) =119236a(9) =409098a(10) =1396288a(11) =4744671a(12) =16062116a(13) =54199810a(14) =182382428a(15) =612236251a(16) =2050883956a(17) =6857469364a(18) =22892085300a(19) =76311433969a(20) =254067536796a(21) =844941922160

External references