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

A269680

Number of length-5 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) =14a(1) =174a(2) =820a(3) =2670a(4) =6918a(5) =15358a(6) =30504a(7) =55710a(8) =95290a(9) =154638a(10) =240348a(11) =360334a(12) =523950a(13) =742110a(14) =1027408a(15) =1394238a(16) =1858914a(17) =2439790a(18) =3157380a(19) =4034478a(20) =5096278a(21) =6370494a(22) =7887480a(23) =9680350a(24) =11785098a(25) =14240718a(26) =17089324a(27) =20376270a(28) =24150270

External references