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

A254204
T(n,k)=Number of length n 1..(k+2) arrays with no leading or trailing partial sum equal to a prime
14
1, 2, 0, 2, 1, 0, 3, 1, 2, 0, 3, 4, 4, 6, 1, 4, 4, 17, 9, 11, 0, 5, 11, 18, 54, 21, 27, 0, 6, 16, 47, 59, 176, 47, 53, 1, 6, 23, 68, 195, 204, 610, 118, 133, 0, 7, 23, 119, 315, 898, 769, 2197, 333, 310, 0, 7, 34, 131, 676, 1653, 4353, 3098, 8358, 984, 691, 1, 8, 34, 226, 786, 4078
OFFSET
1,2
COMMENTS
Table starts
.1...2....2......3......3.......4.......5........6........6.........7.........7
.0...1....1......4......4......11......16.......23.......23........34........34
.0...2....4.....17.....18......47......68......119......131.......226.......237
.0...6....9.....54.....59.....195.....315......676......786......1571......1743
.1..11...21....176....204.....898....1653.....4078.....5075.....11512.....13456
.0..27...47....610....769....4353....9126....25389....33798.....85437....105502
.0..53..118...2197...3098...22189...50166...156454...222665....640886....845325
.1.133..333...8358..14080..112015..266060...972441..1504758...4956259...6973431
.0.310..984..34005..63868..542397.1445197..6288889.10555156..38994996..58337721
.0.691.3362.132483.261240.2658643.8388620.41384162.74476895.308256904.493751257
LINKS
EXAMPLE
Some solutions for n=4 k=4
..4....6....4....4....6....4....1....4....6....6....1....4....6....6....1....6
..2....4....5....2....6....6....3....6....6....4....5....4....6....6....3....3
..2....4....3....4....3....5....6....6....3....2....6....4....6....2....2....5
..6....4....6....4....1....1....6....4....6....4....4....4....4....4....4....4
CROSSREFS
Row 1 is A062298(n+2)
Sequence in context: A127371 A036849 A097364 * A321361 A319517 A321460
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin, Jan 26 2015
STATUS
approved