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

A245997
Number of length 2+2 0..n arrays with no pair in any consecutive three terms totalling exactly n
1
2, 12, 68, 208, 534, 1116, 2120, 3648, 5930, 9100, 13452, 19152, 26558, 35868, 47504, 61696, 78930, 99468, 123860, 152400, 185702, 224092, 268248, 318528, 375674, 440076, 512540, 593488, 683790, 783900, 894752, 1016832, 1151138, 1298188
OFFSET
1,1
COMMENTS
Row 2 of A245995
LINKS
FORMULA
Empirical: a(n) = 3*a(n-1) -a(n-2) -5*a(n-3) +5*a(n-4) +a(n-5) -3*a(n-6) +a(n-7).
Empirical: G.f.: -2*x*(1+3*x+17*x^2+13*x^3+14*x^4) / ( (1+x)^2*(x-1)^5 ). - R. J. Mathar, Aug 10 2014
EXAMPLE
Some solutions for n=10
..5....2....2....2....8....9....2....4....6....8....8....5....3....0....1....6
..0....2....7....7....7....4....9...10....7....6...10....0....6....4....2...10
..1....1...10....2....5....3....6....4....2....6....7....7....0....4....6....9
..8....1....5....7....0....3....9....5....6....3...10....7....0...10....2....3
CROSSREFS
Sequence in context: A000954 A056636 A174327 * A377112 A128103 A359489
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 09 2014
STATUS
approved