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”).

A232840
Number of (1+1) X (n+1) 0..2 arrays with every element next to itself plus and minus one within the range 0..2 horizontally, diagonally or antidiagonally.
1
4, 16, 216, 710, 3648, 25642, 139456, 683250, 3950740, 22616130, 120525288, 658213410, 3693117580, 20305930298, 110933224304, 613037501594, 3386085231380, 18604669612418, 102411236923656, 564815468453874
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = 2*a(n-1) + 3*a(n-2) + 66*a(n-3) + 150*a(n-4) - 86*a(n-5) - 36*a(n-6) - 176*a(n-7) - 512*a(n-8).
Empirical g.f.: 2*x*(2 + 4*x + 86*x^2 - 17*x^3 - 38*x^4 - 48*x^5 - 256*x^6) / (1 - 2*x - 3*x^2 - 66*x^3 - 150*x^4 + 86*x^5 + 36*x^6 + 176*x^7 + 512*x^8). - Colin Barker, Oct 06 2018
EXAMPLE
Some solutions for n=5:
..1..0..0..2..1..0....0..1..0..0..1..2....0..2..2..0..1..0....0..1..0..2..2..0
..1..2..0..1..2..0....0..1..2..1..2..0....2..1..1..1..0..2....2..1..2..1..1..0
CROSSREFS
Row 1 of A232839.
Sequence in context: A088027 A271267 A333438 * A113905 A200045 A099202
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 30 2013
STATUS
approved