|
|
A242236
|
|
Number of length n+5+1 0..5 arrays with every value 0..5 appearing at least once in every consecutive 5+2 elements, and new values 0..5 introduced in order.
|
|
1
|
|
|
21, 51, 106, 211, 416, 821, 1626, 3231, 6411, 12716, 25221, 50026, 99231, 196836, 390441, 774471, 1536226, 3047231, 6044436, 11989641, 23782446, 47174451, 93574431, 185612636, 368178041, 730311646, 1448633651, 2873484856, 5699795261
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Empirical: a(n) = a(n-1) + a(n-2) + a(n-3) + a(n-4) + a(n-5) + a(n-6).
Empirical g.f.: x*(21 + 30*x + 34*x^2 + 33*x^3 + 27*x^4 + 16*x^5) / (1 - x - x^2 - x^3 - x^4 - x^5 - x^6). - Colin Barker, Nov 01 2018
|
|
EXAMPLE
|
Some solutions for n=5:
..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
..1....1....1....0....1....1....1....1....1....1....0....1....1....1....1....1
..2....0....0....1....2....2....2....2....2....2....1....2....2....2....0....2
..3....2....2....2....0....0....3....3....3....3....2....0....3....1....2....3
..2....3....3....3....3....3....4....0....4....4....3....3....3....3....3....4
..4....4....4....4....4....4....5....4....1....0....4....4....4....4....4....2
..5....5....5....5....5....5....1....5....5....5....5....5....5....5....5....5
..0....2....1....0....1....2....0....1....0....1....1....1....0....0....0....0
..1....1....0....2....2....1....3....3....2....2....0....0....1....4....1....1
..3....0....0....1....1....0....2....2....3....4....5....2....2....2....5....3
..3....3....2....4....0....5....1....0....2....3....2....5....3....1....2....5
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|