A255721 Number of length 6 1..(n+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.
1, 14, 102, 936, 2079, 8814, 22155, 53090, 91493, 200228, 304017, 575082, 941185, 1542708, 2114901, 3423009, 4480459, 6771099, 9448995, 13219018, 16542150, 23499170, 30786120, 41197560, 52676852, 68426580, 81835570, 108246990
Offset: 1
Keywords
Examples
Some solutions for n=4 ..1....6....1....4....6....4....1....1....4....4....6....4....1....1....1....4 ..5....4....5....5....2....5....3....3....6....6....2....6....5....5....5....6 ..6....6....3....1....6....3....6....4....5....2....6....5....6....2....3....4 ..3....4....5....2....4....4....2....6....3....3....4....6....3....6....1....1 ..5....1....4....3....6....5....6....4....2....1....6....5....1....4....6....3 ..2....3....6....1....4....4....4....2....4....2....2....6....2....6....2....2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A255716
Comments