A242320 Number of length n+5+2 0..5 arrays with every value 0..5 appearing at least once in every consecutive 5+3 elements, and new values 0..5 introduced in order.
266, 896, 2801, 8231, 23486, 66366, 187671, 533801, 1530356, 4371836, 12472691, 35574971, 101483076, 289556006, 826266561, 2357781941, 6727551746, 19195784876, 54771887681, 156283330211, 445932182766, 1272403116946
Offset: 1
Keywords
Examples
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....0....1....1....0....1....1....1 ..0....2....2....0....2....2....2....0....2....1....2....0....1....2....1....1 ..2....3....3....1....3....3....3....2....3....2....0....2....1....3....2....2 ..3....0....1....2....4....4....1....3....0....2....3....3....2....4....3....3 ..4....4....4....3....0....1....4....3....4....3....4....4....3....5....4....1 ..5....4....5....4....5....0....5....4....5....4....4....1....4....3....5....4 ..1....5....2....5....1....5....0....5....2....5....5....5....5....0....0....5 ..3....1....0....2....2....2....3....1....3....4....1....0....0....1....2....0 ..3....0....2....1....0....3....2....3....1....0....2....1....1....4....1....3 ..0....2....3....0....3....1....3....0....3....1....0....4....4....2....1....3 ..2....3....5....2....1....0....3....2....5....1....0....2....2....1....0....2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A242322.
Formula
Empirical: a(n) = a(n-1) +2*a(n-2) +4*a(n-3) +7*a(n-4) +13*a(n-5) +22*a(n-6) +28*a(n-7) -4*a(n-8) -6*a(n-9) -6*a(n-10) -4*a(n-12) -10*a(n-13) -10*a(n-14) +a(n-16) +a(n-17) +a(n-20) +a(n-21).
Comments