A255718 Number of length 3 1..(n+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.
1, 4, 10, 26, 33, 75, 121, 191, 242, 374, 441, 638, 842, 1092, 1240, 1616, 1794, 2256, 2709, 3229, 3526, 4276, 4951, 5788, 6598, 7567, 8128, 9388, 9984, 11282, 12584, 14076, 15589, 17422, 18337, 20249, 22147, 24312, 25518, 28121, 29422, 32110, 34717
Offset: 1
Keywords
Examples
Some solutions for n=4 ..1....4....1....4....1....1....1....6....1....6....6....6....4....6....4....4 ..5....2....5....2....5....5....3....4....3....2....3....2....5....3....6....5 ..4....4....3....3....2....6....5....2....2....4....1....1....3....5....5....6
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A255716
Comments