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

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