login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A254199
Number of length n 1..(3+2) arrays with no leading or trailing partial sum equal to a prime
1
2, 1, 4, 9, 21, 47, 118, 333, 984, 3362, 12643, 39490, 98542, 227138, 581068, 1805114, 6540668, 24406560, 85426548, 274421967, 815755674, 2293410096, 6495970695, 20483223847, 74509476318, 290215121856, 1104108812114, 3894326230239
OFFSET
1,1
COMMENTS
Column 3 of A254204
LINKS
EXAMPLE
All solutions for n=4
..4....1....4....4....1....4....4....4....1
..4....3....2....5....5....4....2....2....3
..2....2....4....5....3....4....2....3....5
..4....4....4....4....1....4....4....1....1
CROSSREFS
Sequence in context: A015943 A006445 A174255 * A343398 A097949 A268572
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
STATUS
approved