login
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.
1
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,4
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000 (first 210 terms from R. H. Hardin)
EXAMPLE
All solutions for n=4:
..6....4
..4....6
CROSSREFS
Row n=2 of A254218.
Sequence in context: A288506 A046690 A008828 * A053414 A189837 A274409
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
STATUS
approved