A255715 Number of length n 1..(7+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.
5, 24, 121, 653, 3764, 22155, 127375, 721134, 4201419, 25338485, 153827211, 920423497, 5427375260, 32034890790, 192848262264, 1192406909119, 7468582235924, 46184458084732, 277578788510692, 1635584886442562
Offset: 1
Keywords
Examples
Some solutions for n=4 ..8....9....1....4....4....8....9....4....9....1....6....9....6....9....1....1 ..4....7....3....6....8....4....1....5....6....7....9....7....2....3....7....3 ..2....9....5....4....9....6....8....3....7....6....1....4....6....8....1....8 ..1....8....1....8....3....2....2....2....6....1....5....8....4....7....7....4
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A255716
Comments