login
A254216
Number of length n 1..(6+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.
0
4, 8, 32, 96, 373, 1472, 6490, 28190, 109811, 428042, 1877657, 8933652, 41803166, 184319728, 792231146, 3584762414, 17422197427, 85469221254, 398370084189, 1733366825266, 7251337491976, 32000172689890, 165843262226680, 977297442443092, 5688296579514244
OFFSET
1,1
EXAMPLE
Some solutions for n=4:
..6....6....4....1....4....4....8....1....8....6....6....8....1....6....8....4
..4....4....5....5....8....2....4....7....2....8....2....2....3....4....2....5
..6....2....1....4....4....4....2....2....8....2....7....6....4....2....8....7
..8....8....8....6....8....8....8....6....4....8....1....4....8....6....6....8
CROSSREFS
Column k=6 of A254218.
Sequence in context: A149094 A086344 A209084 * A304940 A068205 A241684
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
EXTENSIONS
a(23)-a(25) from Alois P. Heinz, Jan 27 2015
STATUS
approved