login
A254208
Number of length 5 1..(n+2) arrays with no leading or trailing partial sum equal to a prime.
2
1, 11, 21, 176, 204, 898, 1653, 4078, 5075, 11512, 13456, 25925, 37275, 60717, 69689, 114352, 127928, 195039, 251161, 349001, 385157, 552907, 667293, 892038, 1075280, 1385235, 1510110, 2006079, 2156703, 2694466, 3157069, 3885393, 4484057, 5564130
OFFSET
1,2
LINKS
EXAMPLE
For n=4, one of the a(4)=176 solutions is (1,5,4,2,4). The forward sums are 1, 6, 10, 12, and 16, and the reverse sums are 4, 6, 10, 15, and 16.
CROSSREFS
Row n=5 of A254204.
Cf. A254218.
Sequence in context: A321509 A034922 A015446 * A083177 A110466 A110383
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
STATUS
approved