login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A197059
Number of nX6 0..4 arrays with each element equal to the number its horizontal and vertical neighbors equal to 2
1
1, 7, 22, 47, 90, 211, 547, 1364, 3190, 7411, 17630, 42520, 101976, 242655, 576887, 1375887, 3286861, 7846310, 18711439, 44618322, 106438197, 253962851, 605897990, 1445349638, 3447805485, 8224998562, 19621841396, 46809917238, 111668032901
OFFSET
1,2
COMMENTS
Every 0 is next to 0 2's, every 1 is next to 1 2's, every 2 is next to 2 2's, every 3 is next to 3 2's, every 4 is next to 4 2's
Column 6 of A197061
LINKS
FORMULA
Empirical: a(n) = a(n-1) +a(n-2) +a(n-3) +8*a(n-4) +8*a(n-5) +4*a(n-6) -3*a(n-7) -15*a(n-8) -28*a(n-9) -33*a(n-10) -39*a(n-11) -28*a(n-12) +8*a(n-13) +49*a(n-14) +79*a(n-15) +72*a(n-16) +21*a(n-17) -29*a(n-18) -51*a(n-19) -30*a(n-20) +10*a(n-21) +37*a(n-22) +27*a(n-23) +3*a(n-24) -17*a(n-25) -24*a(n-26) -16*a(n-27) -4*a(n-28) +a(n-29) +a(n-30) +2*a(n-31) +a(n-32)
EXAMPLE
Some solutions for n=4
..0..0..1..1..1..1....1..1..0..0..0..0....1..2..2..2..2..1....0..1..2..2..2..1
..0..1..2..2..2..2....2..2..1..0..0..0....1..2..3..3..2..1....0..1..2..3..2..1
..0..1..2..3..3..2....2..2..1..0..0..0....1..2..2..2..2..1....0..1..2..3..2..1
..0..1..2..2..2..2....1..1..0..0..0..0....0..1..1..1..1..0....0..1..2..2..2..1
CROSSREFS
Sequence in context: A038764 A132438 A010001 * A331229 A299283 A244243
KEYWORD
nonn
AUTHOR
R. H. Hardin Oct 09 2011
STATUS
approved