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

A232425
Number of (n+1) X (1+1) 0..2 arrays with every element next to itself plus and minus one within the range 0..2 horizontally or vertically.
2
4, 16, 64, 240, 988, 3964, 15844, 63808, 256096, 1029152, 4133548, 16607836, 66714260, 268019952, 1076703872, 4325480208, 17376731196, 69807805884, 280439281284, 1126611556192, 4525945532832, 18182121542848, 73043190744972
OFFSET
1,1
COMMENTS
Column 1 of A232431.
LINKS
FORMULA
Empirical: a(n) = a(n-1) + 10*a(n-2) + 11*a(n-3) - a(n-4) - 28*a(n-5) - 32*a(n-6).
Empirical g.f.: 4*x*(1 + 3*x + 2*x^2 - 7*x^3 - 16*x^4) / (1 - x - 10*x^2 - 11*x^3 + x^4 + 28*x^5 + 32*x^6). - Colin Barker, Mar 19 2018
EXAMPLE
Some solutions for n=7:
..2..1....2..2....1..2....0..1....1..2....0..1....1..2....0..1....2..1....0..1
..1..0....1..1....0..0....2..2....0..0....2..2....0..1....1..2....1..0....0..2
..2..1....0..0....2..1....1..1....2..1....1..0....1..2....0..1....1..2....1..1
..1..2....0..1....2..2....0..0....1..2....2..1....2..2....1..2....0..0....2..0
..0..1....2..2....1..0....1..2....0..1....1..2....0..1....2..1....2..1....0..1
..0..1....1..1....2..1....0..0....0..0....0..2....1..0....1..0....1..2....1..2
..1..2....0..0....0..1....2..1....1..2....0..1....2..1....2..2....0..2....1..2
..0..1....1..2....1..2....1..0....0..1....1..2....1..0....0..1....0..1....0..1
CROSSREFS
Cf. A232431.
Sequence in context: A294037 A228735 A289694 * A375865 A180239 A006811
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 23 2013
STATUS
approved