login
A254209
Number of length 6 1..(n+2) arrays with no leading or trailing partial sum equal to a prime.
2
0, 27, 47, 610, 769, 4353, 9126, 25389, 33798, 85437, 105502, 224414, 342993, 608338, 731220, 1297874, 1513366, 2471660, 3316174, 4892872, 5594456, 8495902, 10580268, 14864909, 18500679, 24975320, 28034979, 39173178, 43315043, 56273764, 67819100
OFFSET
1,2
LINKS
EXAMPLE
For n=4, one of the a(4)=610 solutions is (1,5,2,6,2,6). The forward sums are 1, 6, 8, 14, 16, 22, and the reverse sums are 6, 8, 14, 16, 21, and 22.
CROSSREFS
Row n=6 of A254204.
Cf. A254218.
Sequence in context: A059658 A241407 A153260 * A155137 A155138 A031325
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
STATUS
approved