A254219 Number of length 2 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.
0, 0, 0, 2, 2, 8, 12, 18, 18, 28, 28, 40, 50, 64, 64, 82, 82, 102, 118, 136, 136, 164, 182, 210, 232, 260, 260, 296, 296, 328, 356, 392, 424, 466, 466, 506, 542, 586, 586, 638, 638, 686, 728, 778, 778, 838, 884, 944, 994, 1050, 1050, 1118, 1168, 1236, 1290, 1352, 1352
Offset: 1
Keywords
Examples
All solutions for n=4: ..6....4 ..4....6
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..10000 (first 210 terms from R. H. Hardin)
Crossrefs
Row n=2 of A254218.