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

A295525
Number of n X 2 0..1 arrays with each 1 horizontally or vertically adjacent to 1, 2 or 4 1s.
4
2, 10, 29, 87, 280, 876, 2735, 8583, 26900, 84274, 264107, 827651, 2593568, 8127490, 25469197, 79812833, 250109752, 783769936, 2456102483, 7696696911, 24119166438, 75582316528, 236852570799, 742225734425, 2325915393694, 7288729246884
OFFSET
1,1
COMMENTS
Column 2 of A295531.
LINKS
FORMULA
Empirical: a(n) = 2*a(n-1) + 2*a(n-2) + 5*a(n-3) - a(n-5) - a(n-6).
Empirical g.f.: x*(2 + 6*x + 5*x^2 - x^3 - 2*x^4 - x^5) / (1 - 2*x - 2*x^2 - 5*x^3 + x^5 + x^6). - Colin Barker, Feb 21 2018
EXAMPLE
Some solutions for n=5:
..1..1. .1..1. .1..1. .1..1. .1..0. .0..0. .0..0. .0..0. .0..1. .1..1
..1..0. .1..0. .1..1. .0..0. .1..0. .1..1. .1..1. .1..1. .0..1. .0..1
..1..1. .0..0. .0..0. .1..1. .1..0. .1..0. .0..0. .0..0. .0..0. .0..1
..0..1. .0..1. .1..0. .0..1. .1..1. .1..0. .1..1. .1..1. .1..0. .0..0
..0..1. .1..1. .1..1. .0..1. .0..0. .0..0. .1..0. .1..1. .1..1. .1..1
CROSSREFS
Cf. A295531.
Sequence in context: A264677 A101561 A279263 * A302274 A047112 A190186
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 23 2017
STATUS
approved