|
|
A206450
|
|
Number of 0..3 arrays of length n avoiding the consecutive pattern 0..3.
|
|
4
|
|
|
4, 16, 64, 255, 1016, 4048, 16128, 64257, 256012, 1020000, 4063872, 16191231, 64508912, 257015648, 1023998720, 4079803649, 16254705684, 64761807088, 258023229632, 1028013114879, 4095797753832, 16318429208240, 65015693603328
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 4*a(n-1) -a(n-4).
Empirical: a(n) = sum{i in 0..floor(n/4)} ((-1)^i*4^(n-4*i)*binomial(n-3*i,i)).
g.f.: x*(4 - x^3) / (1 - 4*x + x^4). - Colin Barker, Feb 23 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|