A254203 Number of length n 1..(7+2) arrays with no leading or trailing partial sum equal to a prime.
5, 16, 68, 315, 1653, 9126, 50166, 266060, 1445197, 8388620, 49943639, 291356973, 1672450652, 9817427902, 60070829938, 373040809711, 2261787393319
Offset: 1
Keywords
Examples
Some solutions for n=4 ..8....9....6....4....6....9....8....9....4....4....1....4....9....8....4....8 ..7....7....2....2....4....9....6....9....8....2....8....8....7....4....6....4 ..6....5....7....3....6....7....4....9....8....2....9....9....6....6....4....6 ..9....9....9....1....6....9....8....9....8....8....9....1....8....4....4....6
Comments