Number of length-n 0..3 arrays with no repeated value differing from the previous repeated value by other than one.

A269532

Number of length-n 0..3 arrays with no repeated value differing from the previous repeated value by other than one.

Terms

    a(0) =4a(1) =16a(2) =60a(3) =222a(4) =804a(5) =2878a(6) =10192a(7) =35812a(8) =125012a(9) =434110a(10) =1500912a(11) =5170626a(12) =17758812a(13) =60837880a(14) =207965356a(15) =709583398a(16) =2417278172a(17) =8223508510a(18) =27943213944a(19) =94853465148a(20) =321696510276

External references