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!)
A197274 Number of n X 2 0..4 arrays with each element x equal to the number its horizontal and vertical neighbors equal to 2,0,1,1,1 for x=0,1,2,3,4. 1
3, 9, 14, 29, 67, 134, 275, 583, 1210, 2511, 5245, 10926, 22745, 47405, 98774, 205765, 428731, 893294, 1861163, 3877815, 8079642, 16834247, 35074949, 73080470, 152266769, 317255517, 661018310, 1377265789, 2869604691, 5978971062 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Every 0 is next to 0 2's, every 1 is next to 1 0's, every 2 is next to 2 1's, every 3 is next to 3 1's, every 4 is next to 4 1's.
Column 2 of A197280.
LINKS
FORMULA
Empirical: a(n) = 2*a(n-1) +2*a(n-3) -2*a(n-4) -2*a(n-5) -a(n-6) -2*a(n-7).
Empirical g.f.: (1 + x)^2*(3 - 3*x - x^2 - 2*x^4) / (1 - 2*x - 2*x^3 + 2*x^4 + 2*x^5 + x^6 + 2*x^7). - Colin Barker, May 11 2018
EXAMPLE
Some solutions for n=4:
..2..1....0..0....0..1....0..1....2..1....0..0....2..1....1..0....1..0....0..1
..1..0....0..0....1..1....0..1....1..0....1..1....1..0....3..1....1..0....1..3
..1..0....0..0....1..0....0..1....1..0....1..1....1..1....1..1....1..0....1..1
..2..1....0..0....2..1....1..2....1..0....0..0....0..1....0..0....1..0....0..0
CROSSREFS
Cf. A197280.
Sequence in context: A274435 A136562 A305342 * A316234 A317155 A316422
KEYWORD
nonn
AUTHOR
R. H. Hardin, Oct 12 2011
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 March 1 22:23 EST 2024. Contains 370443 sequences. (Running on oeis4.)