login
A254206
Number of length 3 1..(n+2) arrays with no leading or trailing partial sum equal to a prime.
2
0, 2, 4, 17, 18, 47, 68, 119, 131, 226, 237, 370, 475, 644, 678, 949, 985, 1303, 1544, 1903, 1966, 2511, 2864, 3440, 3890, 4564, 4716, 5658, 5781, 6672, 7421, 8442, 9295, 10640, 10833, 12154, 13274, 14792, 15101, 17017, 17322, 19177, 20728, 22792, 23197
OFFSET
1,2
LINKS
EXAMPLE
The a(3)=4 solutions are (4,4,4), (4,5,1), (1,5,4), and (4,2,4).
CROSSREFS
Row n=3 of A254204.
Cf. A254218.
Sequence in context: A105510 A155951 A208132 * A118242 A006276 A318367
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
STATUS
approved