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

A297221
Number of n X 5 0..1 arrays with every 1 horizontally or antidiagonally adjacent to 1 neighboring 1s.
1
6, 33, 182, 997, 5570, 30946, 171851, 955316, 5308160, 29497088, 163916530, 910869797, 5061672943, 28127490455, 156303166524, 868569845751, 4826603668246, 26821221189069, 149044329620412, 828232684722634
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = a(n-1) + 16*a(n-2) + 45*a(n-3) + 39*a(n-4) - 3*a(n-5) - 21*a(n-6) + 8*a(n-7) - 4*a(n-8) + a(n-9).
Empirical g.f.: x*(6 + 27*x + 53*x^2 + 17*x^3 - 58*x^4 - 35*x^5 + 47*x^6 - 13*x^7 + x^8) / ((1 + 2*x + x^2 - x^3)*(1 - 3*x - 11*x^2 - 19*x^3 + 7*x^4 - 3*x^5 + x^6)). - Colin Barker, Feb 26 2019
EXAMPLE
Some solutions for n=7:
..0..0..0..0..0. .0..0..0..1..1. .0..0..0..1..1. .0..0..0..0..0
..0..0..0..1..1. .0..1..0..0..1. .1..1..0..0..0. .1..1..0..0..0
..0..0..0..0..1. .1..0..0..1..0. .0..0..1..1..0. .0..0..0..1..1
..0..0..0..1..0. .0..0..0..0..0. .0..0..0..0..1. .0..0..0..0..0
..0..0..0..0..0. .0..0..1..1..0. .0..1..0..1..0. .1..1..0..1..0
..0..0..1..0..0. .0..0..0..0..0. .1..0..0..0..0. .0..0..1..0..0
..0..1..0..1..1. .0..0..1..1..0. .0..0..1..1..0. .0..0..1..1..0
CROSSREFS
Column 5 of A297224.
Sequence in context: A050151 A009162 A012718 * A006630 A367850 A180035
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 27 2017
STATUS
approved