|
|
A300344
|
|
Number of n X 2 0..1 arrays with every element equal to 1 or 2 horizontally, vertically or antidiagonally adjacent elements, with upper left element zero.
|
|
5
|
|
|
1, 2, 6, 15, 37, 90, 223, 550, 1355, 3341, 8237, 20307, 50064, 123426, 304290, 750185, 1849478, 4559634, 11241151, 27713513, 68323858, 168443083, 415273274, 1023799191, 2524036217, 6222664445, 15341124083, 37821433280, 93243546406
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = a(n-1) + 2*a(n-2) + 3*a(n-3) + 2*a(n-4) + a(n-5).
Empirical g.f.: -x*(-2*x^4-2*x^3-2*x^2-x-1)/(-x^5-2*x^4-3*x^3-2*x^2-x+1). - Simon Plouffe, Jun 20 2018
|
|
EXAMPLE
|
Some solutions for n=5:
0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1
0 1 0 1 1 0 0 1 1 1 0 1 0 1 1 0 1 1 0 1
1 0 1 0 1 0 0 1 0 1 1 0 0 1 1 1 0 1 0 1
0 1 1 0 1 0 0 1 0 1 0 1 1 0 0 1 0 0 0 0
1 1 1 1 1 1 0 0 0 1 0 1 1 0 0 1 1 1 1 1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|