Number of 0..n arrays of length 5 with each element unequal to at least one neighbor, starting with 0.

A221464

Number of 0..n arrays of length 5 with each element unequal to at least one neighbor, starting with 0.

Terms

    a(0) =3a(1) =32a(2) =135a(3) =384a(4) =875a(5) =1728a(6) =3087a(7) =5120a(8) =8019a(9) =12000a(10) =17303a(11) =24192a(12) =32955a(13) =43904a(14) =57375a(15) =73728a(16) =93347a(17) =116640a(18) =144039a(19) =176000a(20) =213003a(21) =255552a(22) =304175a(23) =359424a(24) =421875a(25) =492128a(26) =570807a(27) =658560a(28) =756059a(29) =864000

External references