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

A221466

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

Terms

    a(0) =8a(1) =240a(2) =1944a(3) =8960a(4) =30000a(5) =81648a(6) =192080a(7) =405504a(8) =787320a(9) =1430000a(10) =2459688a(11) =4043520a(12) =6397664a(13) =9796080a(14) =14580000a(15) =21168128a(16) =30067560a(17) =41885424a(18) =57341240a(19) =77280000a(20) =102685968a(21) =134697200a(22) =174620784a(23) =223948800a(24) =284375000a(25) =357812208

External references