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!)
A212823 Number of 0..2 arrays of length n with no adjacent pair equal to its immediately preceding adjacent pair, and new values introduced in 0..2 order. 1
1, 2, 5, 12, 33, 90, 246, 672, 1836, 5016, 13704, 37440, 102288, 279456, 763488, 2085888, 5698752, 15569280, 42536064, 116210688, 317493504, 867408384, 2369803776, 6474424320, 17688456192, 48325761024, 132028434432, 360708390912 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Column 2 of A212829.
LINKS
FORMULA
Empirical: a(n) = 2*a(n-1) + 2*a(n-2) for n>5.
Empirical g.f.: x*(1 - x - x^2)*(1 + x + x^2) / (1 - 2*x - 2*x^2). - Colin Barker, Jul 21 2018
EXAMPLE
Some solutions for n=8:
..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
..1....1....1....1....1....1....0....1....1....1....0....1....1....1....1....1
..2....2....1....2....2....2....0....0....2....1....1....1....0....0....2....2
..1....0....0....2....2....0....1....2....0....1....2....2....2....0....0....0
..0....0....2....2....0....1....2....1....0....2....2....0....1....1....2....2
..0....1....0....0....1....1....2....0....0....0....0....0....0....2....2....2
..1....0....0....2....0....0....1....0....1....0....0....1....2....2....0....2
..1....0....1....2....0....2....2....0....1....0....2....0....1....0....1....0
CROSSREFS
Cf. A212829.
Sequence in context: A209717 A000560 A292212 * A292213 A032124 A292214
KEYWORD
nonn
AUTHOR
R. H. Hardin, May 28 2012
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 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)