A254224 Number of length 7 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.
0, 2, 15, 383, 633, 6490, 18214, 60168, 97089, 296955, 420163, 1046085, 1799943, 3545675, 4664339, 9251052, 11630683, 20703803, 29730723, 47075466, 56991009, 93151404, 122440340, 182865306, 239287220, 341720757, 401640735, 596658745
Offset: 1
Keywords
Examples
Some solutions for n=4 ..4....6....6....4....1....6....4....4....6....6....6....1....6....1....4....4 ..5....2....3....5....3....2....6....2....2....4....2....3....4....3....6....6 ..3....4....5....3....4....4....4....4....6....2....6....6....5....2....2....4 ..6....2....6....4....2....2....2....2....4....3....4....4....3....4....4....2 ..4....6....4....5....6....1....6....4....6....6....6....2....4....2....6....4 ..2....5....2....3....2....3....3....5....2....3....4....6....2....4....4....2 ..6....1....4....6....4....6....1....1....4....6....6....4....6....6....6....4
Links
- R. H. Hardin, Table of n, a(n) for n = 1..67
Comments