A255714 Number of length n 1..(6+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.
4, 17, 75, 342, 1707, 8814, 45735, 229317, 1129024, 5744720, 30448145, 163328140, 866397895, 4515528539, 23325358076, 121500213369, 648072229596, 3549923527103, 19654222272276, 107149613713782, 565522043746019
Offset: 1
Keywords
Examples
Some solutions for n=4 ..8....8....4....6....8....1....6....8....4....4....4....8....8....1....1....8 ..7....1....6....2....2....8....8....2....8....2....5....7....1....5....3....7 ..6....6....8....8....8....6....6....5....6....4....3....1....5....4....4....5 ..3....3....7....5....2....3....2....1....3....6....2....8....2....6....6....4
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A255716
Comments