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

A221667
Sum of neighbor maps: number of 2 X n binary arrays indicating the locations of corresponding elements equal to the sum mod 3 of their horizontal, diagonal and antidiagonal neighbors in a random 0..2 2 X n array.
1
4, 12, 64, 256, 992, 4096, 16384, 65344, 262144, 1048576, 4193280, 16777216, 67108864, 268430336, 1073741824, 4294967296, 17179844608, 68719476736, 274877906944, 1099511513088, 4398046511104, 17592186044416, 70368743653376
OFFSET
1,1
COMMENTS
Row 2 of A221666.
LINKS
FORMULA
Empirical: a(n) = 4*a(n-1) + 8*a(n-3) - 32*a(n-4) - 16*a(n-6) + 64*a(n-7).
Empirical g.f.: 4*x*(1 - x + 4*x^2 - 8*x^3 + 16*x^6) / ((1 - 4*x)*(1 - 4*x^3)^2). - Colin Barker, Aug 10 2018
EXAMPLE
Some solutions for n=3:
..0..0..0....0..1..0....0..1..1....0..1..1....1..1..0....0..0..1....1..0..1
..1..1..1....0..1..0....0..1..1....0..1..0....1..1..1....0..1..1....0..1..0
CROSSREFS
Cf. A221666.
Sequence in context: A259816 A353452 A071769 * A275527 A222612 A339134
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 21 2013
STATUS
approved