Number of 0..5 arrays of length n with each element differing from at least one neighbor by something other than 1, starting with 0.
A221539
Number of 0..5 arrays of length n with each element differing from at least one neighbor by something other than 1, starting with 0.
Terms
- a(0) =0a(1) =5a(2) =22a(3) =130a(4) =716a(5) =4018a(6) =22466a(7) =125701a(8) =703193a(9) =3933916a(10) =22007609a(11) =123117952a(12) =688762928a(13) =3853170001a(14) =21555920345a(15) =120591020698a(16) =674626461416
External references
- oeis: A221539