A254543 Number of length 5 1..(n+2) arrays with no leading partial sum equal to a prime.
4, 50, 135, 670, 1087, 3383, 6814, 13843, 20012, 37643, 50271, 84258, 124243, 185263, 233753, 347471, 423430, 594001, 776949, 1021618, 1205883, 1612046, 2004761, 2549617, 3112664, 3856074, 4411319, 5541449, 6253712, 7547845, 8918038
Offset: 1
Keywords
Examples
Some solutions for n=4 ..6....4....6....6....6....6....6....4....6....6....4....1....4....4....6....4 ..6....5....3....4....2....3....6....2....4....2....5....3....5....5....4....5 ..4....6....3....2....6....5....3....2....4....6....3....5....6....1....6....1 ..6....1....4....6....6....1....3....1....4....1....3....3....3....5....5....5 ..2....6....2....2....4....1....3....5....4....1....5....6....2....6....1....5
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Comments