|
|
A217878
|
|
Number of n-element 0..2 arrays with each element the minimum of 3 adjacent elements of a random 0..2 array of n+2 elements.
|
|
3
|
|
|
3, 9, 22, 46, 91, 183, 383, 819, 1749, 3699, 7772, 16316, 34325, 72349, 152573, 321621, 677623, 1427389, 3006930, 6335210, 13348399, 28125235, 59258363, 124851495, 263048937, 554220135, 1167698552, 2460253944, 5183565225, 10921353721
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 3*a(n-1) -3*a(n-2) +a(n-3) +3*a(n-4) -a(n-5) +a(n-6) +a(n-7).
Empirical g.f.: x*(1 + x^2 + x^3)*(3 + x^2 + x^3) / ((1 - x + x^2 + x^3)*(1 - 2*x - x^4)). - Colin Barker, Feb 23 2018
|
|
EXAMPLE
|
Some solutions for n=4:
..0....1....0....0....2....1....1....1....0....1....2....0....0....0....1....0
..0....1....2....0....1....1....2....2....1....1....2....1....1....0....2....1
..0....2....0....0....1....1....0....2....2....0....2....1....1....2....1....2
..2....2....0....1....1....1....0....1....1....0....1....1....2....2....1....0
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|