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

A269642

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

Terms

    a(0) =12a(1) =159a(2) =796a(3) =2637a(4) =6876a(5) =15307a(6) =30444a(7) =55641a(8) =95212a(9) =154551a(10) =240252a(11) =360229a(12) =523836a(13) =741987a(14) =1027276a(15) =1394097a(16) =1858764a(17) =2439631a(18) =3157212a(19) =4034301a(20) =5096092a(21) =6370299a(22) =7887276a(23) =9680137a(24) =11784876a(25) =14240487a(26) =17089084a(27) =20376021a(28) =24150012

External references