Number of 0..3 arrays of length n with each element differing from at least one neighbor by something other than 1, starting with 0.
A221537
Number of 0..3 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) =3a(2) =8a(3) =30a(4) =103a(5) =364a(6) =1276a(7) =4483a(8) =15740a(9) =55274a(10) =194095a(11) =681576a(12) =2393384a(13) =8404483a(14) =29512736a(15) =103635366a(16) =363920471a(17) =1277923892a(18) =4487489988a(19) =15758032643a(20) =55335074484a(21) =194311722642a(22) =682334774239
External references
- oeis: A221537