login
A251367
Number of (n+1) X (2+1) 0..2 arrays with every 2 X 2 subblock summing to 1, 2, 3, 4, 5, 6, or 7.
1
695, 17969, 464393, 12002283, 310199103, 8017100977, 207202101873, 5355141623323, 138403720518311, 3577046360518609, 92448820142650873, 2389341228591410219, 61752562096926105327, 1595995950642355498897
OFFSET
1,1
COMMENTS
Column 2 of A251373.
FORMULA
Empirical: a(n) = 24*a(n-1) + 49*a(n-2) - 34*a(n-3).
From Robert Israel, Mar 19 2018: (Start)
Empirical formula verified: see link.
G.f.: (695*x+1289*x^2-918*x^3)/(1-24*x-49*x^2+34*x^3). (End)
EXAMPLE
Some solutions for n=2:
2 1 1 2 0 2 0 2 1 2 2 2 0 0 2 0 0 2 0 0 2
0 0 0 1 0 0 1 0 1 0 1 1 1 1 2 1 2 1 1 1 1
1 2 2 2 0 1 1 2 1 2 0 2 0 0 1 1 0 1 0 1 0
MAPLE
f:= gfun:-rectoproc({a(n) = 24*a(n-1) +49*a(n-2) -34*a(n-3), a(1)=695, a(2)=17969, a(3)=464393}, a(n), remember):
map(f, [$1..30]); # Robert Israel, Mar 19 2018
CROSSREFS
Sequence in context: A115493 A214165 A048925 * A221418 A157435 A048426
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 01 2014
STATUS
approved