A255713 Number of length n 1..(5+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.
3, 9, 33, 120, 480, 2079, 9044, 39604, 170835, 720348, 3105394, 14050148, 64838808, 295178921, 1315098518, 5765163507, 25132740083, 110592507674, 498297998116, 2314042703759, 10991409243669, 52236818282458, 242186086327901
Offset: 1
Keywords
Examples
Some solutions for n=4 ..1....1....6....4....6....6....6....1....4....4....1....1....6....6....6....6 ..3....5....3....5....2....4....3....5....2....5....5....5....3....2....3....2 ..4....3....7....7....4....5....1....6....3....1....2....4....5....1....7....1 ..1....7....6....6....3....7....4....3....5....5....4....2....7....6....5....5
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A255716
Comments