|
|
A250082
|
|
Number of length 1+5 0..n arrays with every six consecutive terms having the maximum of some two terms equal to the minimum of the remaining four terms.
|
|
1
|
|
|
49, 444, 2086, 6835, 17871, 40054, 80284, 147861, 254845, 416416, 651234, 981799, 1434811, 2041530, 2838136, 3866089, 5172489, 6810436, 8839390, 11325531, 14342119, 17969854, 22297236, 27420925, 33446101, 40486824, 48666394, 58117711
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = 3*n^5 + 10*n^4 + 15*n^3 + (27/2)*n^2 + (13/2)*n + 1.
G.f.: x*(49 + 150*x + 157*x^2 - 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:
..5....0....3....0....2....3....3....4....3....4....5....6....5....3....1....6
..6....3....1....6....6....0....1....6....5....2....6....5....6....3....5....4
..5....1....1....6....3....6....3....4....5....2....4....2....4....2....1....6
..1....1....2....6....6....0....1....3....3....6....2....4....0....4....1....6
..3....1....6....2....5....3....1....4....5....1....2....6....5....2....2....4
..3....5....0....2....3....0....0....4....3....4....2....4....4....1....3....0
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|