login
A254217
Number of length n 1..(7+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.
0
5, 12, 48, 168, 766, 3720, 18214, 81428, 362910, 1828848, 9781293, 49824190, 241134125, 1198202218, 6489872942, 36558663886, 196996500006, 982525116524, 4694315336320, 23819615009274, 140719786602875, 913403203820358, 5715151962243604, 32271875770787666
OFFSET
1,1
EXAMPLE
Some solutions for n=4:
..6....4....4....6....4....8....4....4....1....4....1....8....1....4....9....6
..8....8....6....9....6....2....2....8....3....2....8....1....5....8....3....4
..2....2....2....3....5....5....3....3....5....3....5....6....6....4....4....5
..4....6....8....9....9....1....1....9....1....9....1....9....4....8....8....1
CROSSREFS
Column k=7 of A254218.
Sequence in context: A195541 A006078 A046612 * A211951 A356539 A009425
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
EXTENSIONS
a(19)-a(24) from Alois P. Heinz, Jan 27 2015
STATUS
approved