A254201 Number of length n 1..(5+2) arrays with no leading or trailing partial sum equal to a prime.
3, 4, 18, 59, 204, 769, 3098, 14080, 63868, 261240, 1030917, 4350280, 20376408, 100217091, 480075932, 2180836235, 9678232728, 44364200452, 215530397762, 1076559054832, 5260403805411, 24406081179847
Offset: 1
Keywords
Examples
Some solutions for n=4 ..1....6....4....1....1....4....4....4....6....6....1....1....4....6....1....6 ..5....4....4....5....3....2....5....2....2....6....5....7....6....2....7....4 ..6....4....2....4....5....3....3....6....6....4....3....2....6....4....7....5 ..4....6....6....6....1....1....6....6....6....4....1....6....6....4....1....1
Comments