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

A245158
Number of length n 0..3 arrays with new values introduced in order from both ends.
1
1, 1, 2, 4, 9, 23, 65, 199, 653, 2275, 8313, 31439, 121637, 477307, 1888721, 7509799, 29940861, 119550419, 477742889, 1909988479, 7637856725, 30546970411, 122178444417, 488693854679, 1954733475629, 7818845822083, 31275198738905
OFFSET
1,3
LINKS
FORMULA
Empirical: a(n) = 10*a(n-1) - 37*a(n-2) + 64*a(n-3) - 52*a(n-4) + 16*a(n-5) for n>6.
Conjectures from Colin Barker, Nov 03 2018: (Start)
G.f.: x*(1 - 9*x + 29*x^2 - 43*x^3 + 31*x^4 - 11*x^5) / ((1 - x)^2*(1 - 2*x)^2*(1 - 4*x)).
a(n) = (-64 - 27*2^(2+n) + 4^n + 12*(32+3*2^n)*n) / 576 for n>1.
(End)
EXAMPLE
Some solutions for n=7:
..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
..0....0....1....0....1....1....1....1....1....1....1....0....0....1....1....1
..0....0....0....1....1....2....0....2....2....0....0....1....0....0....1....2
..0....1....0....1....0....0....1....2....1....2....2....0....0....0....2....1
..1....2....0....2....1....2....1....1....0....1....1....1....0....0....0....1
..0....1....0....1....0....1....0....0....0....1....0....0....0....1....1....0
..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
CROSSREFS
Column 3 of A245163.
Sequence in context: A362549 A014137 A377409 * A245159 A245160 A245161
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jul 12 2014
STATUS
approved