|
|
A249710
|
|
Number of length 4+3 0..n arrays with every four consecutive terms having the maximum of some two terms equal to the minimum of the remaining two terms.
|
|
1
|
|
|
28, 221, 896, 2601, 6172, 12789, 24032, 41937, 69052, 108493, 164000, 239993, 341628, 474853, 646464, 864161, 1136604, 1473469, 1885504, 2384585, 2983772, 3697365, 4540960, 5531505, 6687356, 8028333, 9575776, 11352601, 13383356
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = (7/15)*n^5 + 5*n^4 + 11*n^3 + 8*n^2 + (38/15)*n + 1.
G.f.: x*(28 + 53*x - 10*x^2 - 20*x^3 + 6*x^4 - x^5) / (1 - x)^6.
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6) for n>6.
(End)
|
|
EXAMPLE
|
Some solutions for n=6:
..1....3....4....5....2....1....2....6....6....5....1....2....2....3....2....2
..3....5....3....0....6....0....3....1....3....3....3....2....4....3....4....3
..6....1....1....2....3....1....0....1....2....5....3....1....2....5....5....3
..3....3....3....2....3....1....2....1....3....5....4....2....2....3....4....3
..3....3....4....2....3....1....2....4....3....5....3....2....1....3....1....4
..0....3....3....1....3....2....2....1....5....3....3....5....2....3....4....3
..6....2....2....6....1....0....2....1....1....5....1....1....4....5....6....2
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|