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!)
A245990 Number of length n+2 0..3 arrays with no pair in any consecutive three terms totalling exactly 3. 1
28, 68, 164, 396, 956, 2308, 5572, 13452, 32476, 78404, 189284, 456972, 1103228, 2663428, 6430084, 15523596, 37477276, 90478148, 218433572, 527345292, 1273124156, 3073593604, 7420311364, 17914216332, 43248744028, 104411704388 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = 2*a(n-1) + a(n-2).
Conjectures from Colin Barker, Nov 05 2018: (Start)
G.f.: 4*x*(7 + 3*x) / (1 - 2*x - x^2).
a(n) = sqrt(2)*((1-sqrt(2))^n*(-4+3*sqrt(2)) + (1+sqrt(2))^n*(4+3*sqrt(2))).
(End)
EXAMPLE
Some solutions for n=10:
3 2 1 1 2 1 1 2 0 2 3 0 1 3 3 0
3 2 1 0 2 3 0 2 2 3 2 0 3 1 2 2
3 3 3 0 3 1 0 2 0 2 2 0 1 1 2 0
3 2 1 1 3 1 0 2 0 3 2 1 3 3 3 2
3 3 1 1 1 1 0 0 0 3 0 1 1 1 3 2
2 3 0 0 3 3 2 2 1 2 2 1 1 3 2 2
2 2 1 0 1 1 2 2 1 3 0 1 1 3 2 2
2 3 1 1 3 3 3 2 1 3 2 0 3 3 3 0
3 3 1 1 3 1 3 2 3 3 0 0 1 2 2 0
2 1 0 3 3 1 2 3 3 2 2 0 1 3 2 1
3 1 0 1 3 0 3 3 2 2 2 0 0 3 3 1
2 0 1 3 3 0 2 1 3 0 3 1 0 1 2 3
CROSSREFS
Column 3 of A245995.
Sequence in context: A246911 A323918 A039460 * A110829 A242237 A182465
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 09 2014
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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)