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”).

A254197
Number of length n 1..(1+2) arrays with no leading or trailing partial sum equal to a prime
1
1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 2, 14, 66, 156, 202, 151, 69, 18, 7, 19, 37, 78, 393, 2608, 12865, 45917, 121659, 245151, 393062, 565673, 910088, 1775336, 3503048, 5974259, 8372896, 9844151, 11328144, 18364097, 44444934, 112695335, 249504498
OFFSET
1,14
COMMENTS
Column 1 of A254204
LINKS
EXAMPLE
All solutions for n=15
..1....1....1....1....1....1....1....1....1....1....1....1....1....1
..3....3....3....3....3....3....3....3....3....3....3....3....3....3
..2....2....2....2....2....2....2....2....2....2....2....2....2....2
..3....2....3....3....3....3....3....3....3....3....2....3....3....3
..3....2....3....1....3....3....3....3....3....3....1....3....3....3
..3....2....3....2....3....3....2....3....3....2....3....3....3....2
..1....3....3....3....3....3....1....3....3....2....3....3....3....2
..2....3....3....3....3....2....3....3....2....2....3....3....3....2
..3....3....3....3....3....1....3....3....2....3....3....1....3....2
..3....3....2....3....3....3....3....2....2....3....3....2....3....2
..3....3....1....3....3....3....3....2....3....3....3....3....1....3
..3....3....3....3....3....3....3....2....3....3....3....3....2....3
..2....2....2....2....2....2....2....2....2....2....2....2....2....2
..3....3....3....3....3....3....3....3....3....3....3....3....3....3
..1....1....1....1....1....1....1....1....1....1....1....1....1....1
CROSSREFS
Sequence in context: A335630 A266590 A196977 * A222715 A197162 A109869
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
STATUS
approved