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

A255716
T(n,k)=Number of length n 1..(k+2) arrays with no leading partial sum equal to a prime and no consecutive values equal
13
1, 2, 1, 2, 2, 1, 3, 4, 4, 1, 3, 8, 10, 6, 1, 4, 9, 26, 21, 8, 1, 5, 17, 33, 81, 47, 14, 1, 6, 24, 75, 120, 261, 102, 19, 1, 6, 32, 121, 342, 480, 936, 256, 33, 1, 7, 36, 191, 653, 1707, 2079, 3435, 754, 69, 1, 7, 48, 242, 1221, 3764, 8814, 9044, 12406, 2169, 162, 1, 8, 52, 374
OFFSET
1,2
COMMENTS
Table starts
.1...2....2......3......3.......4........5.........6.........6.........7
.1...2....4......8......9......17.......24........32........36........48
.1...4...10.....26.....33......75......121.......191.......242.......374
.1...6...21.....81....120.....342......653......1221......1729......3037
.1...8...47....261....480....1707.....3764......8072.....12646.....24669
.1..14..102....936...2079....8814....22155.....53090.....91493....200228
.1..19..256...3435...9044...45735...127375....346499....667623...1659159
.1..33..754..12406..39604..229317...721134...2312940...4999570..13912571
.1..69.2169..45637.170835.1129024..4201419..15787318..37773069.116235183
.1.162.5999.165303.720348.5744720.25338485.107642427.282611786.969235198
LINKS
EXAMPLE
Some solutions for n=4 k=4
..4....4....4....6....4....1....1....6....1....1....1....1....6....1....4....1
..5....5....6....2....6....3....5....3....3....3....3....5....3....3....6....3
..3....6....4....6....4....4....2....1....2....5....6....6....1....2....2....6
..6....3....2....4....6....1....4....2....6....1....5....4....5....3....6....2
CROSSREFS
Row 1 is A062298(n+2)
Sequence in context: A238190 A227925 A035388 * A351289 A177954 A337312
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin, Mar 03 2015
STATUS
approved