A254223 Number of length 6 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.
0, 2, 6, 136, 192, 1472, 3720, 11182, 16698, 44652, 58174, 129560, 207946, 379126, 471170, 858104, 1025788, 1709908, 2349342, 3507974, 4085852, 6291688, 7972036, 11313026, 14262670, 19396782, 22025082, 31062140, 34653076, 45272262, 55014664
Offset: 1
Keywords
Examples
Some solutions for n=4 ..4....1....4....1....6....6....6....6....6....1....1....4....4....6....6....4 ..5....3....6....5....2....4....3....4....2....5....3....6....2....2....3....2 ..1....6....5....6....6....6....5....6....4....4....4....4....6....6....1....3 ..6....2....1....4....4....5....4....4....2....2....2....6....4....1....4....6 ..2....6....2....2....6....3....2....2....4....6....5....5....6....3....6....5 ..6....4....6....4....4....6....4....4....6....4....1....1....4....6....4....4
Links
- R. H. Hardin, Table of n, a(n) for n = 1..131
Comments