A255722 Number of length 7 1..(n+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.
1, 19, 256, 3435, 9044, 45735, 127375, 346499, 667623, 1659159, 2752326, 5689368, 9976897, 17538154, 25598415, 44565127, 61843772, 99471988, 145959173, 215170467, 281539258, 421251283, 576147610, 807868670, 1076649303, 1462427055
Offset: 1
Keywords
Examples
Some solutions for n=4 ..1....6....1....6....1....4....4....4....4....1....6....4....6....6....6....6 ..5....4....3....2....3....6....5....5....2....3....3....2....4....2....3....2 ..6....2....2....1....2....5....6....6....3....5....5....4....5....4....5....1 ..3....3....3....5....3....6....5....3....6....6....4....2....3....2....1....3 ..5....5....6....6....5....1....4....4....5....3....2....6....4....1....5....6 ..2....4....1....5....6....6....3....2....6....2....6....2....2....3....1....3 ..5....6....2....3....2....4....6....3....2....6....2....4....3....6....5....4
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A255716
Comments