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

A269679

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

Terms

    a(0) =10a(1) =66a(2) =224a(3) =570a(4) =1212a(5) =2282a(6) =3936a(7) =6354a(8) =9740a(9) =14322a(10) =20352a(11) =28106a(12) =37884a(13) =50010a(14) =64832a(15) =82722a(16) =104076a(17) =129314a(18) =158880a(19) =193242a(20) =232892a(21) =278346a(22) =330144a(23) =388850a(24) =455052a(25) =529362a(26) =612416a(27) =704874a(28) =807420a(29) =920762

External references