The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A297458 Number of 2 X n 0..1 arrays with every 1 horizontally, diagonally or antidiagonally adjacent to 0 or 2 neighboring 1s. 1
4, 8, 25, 57, 156, 384, 1009, 2545, 6580, 16760, 43081, 110121, 282444, 722928, 1852705, 4744417, 12155236, 31132904, 79753849, 204285465, 523300860, 1340442720, 3433646161, 8795417041, 22530001684, 57711669848, 147831676585 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = a(n-1) + 3*a(n-2) + a(n-3) + 4*a(n-4).
Empirical g.f.: x*(4 + 4*x + 5*x^2 + 4*x^3) / ((1 + x^2)*(1 - x - 4*x^2)). - Colin Barker, Feb 28 2019
EXAMPLE
Some solutions for n=7:
..0..0..1..1..0..0..1. .0..0..1..1..0..0..0. .0..0..0..1..0..0..0
..1..0..1..1..0..0..0. .0..0..1..1..0..1..0. .0..1..0..0..0..1..0
CROSSREFS
Row 2 of A297457.
Sequence in context: A068367 A292548 A000964 * A328038 A107840 A046736
KEYWORD
nonn
AUTHOR
R. H. Hardin, Dec 30 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 04:28 EDT 2024. Contains 372666 sequences. (Running on oeis4.)