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

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

%I #6 Jan 27 2015 18:07:20

%S 4,8,32,96,373,1472,6490,28190,109811,428042,1877657,8933652,41803166,

%T 184319728,792231146,3584762414,17422197427,85469221254,398370084189,

%U 1733366825266,7251337491976,32000172689890,165843262226680,977297442443092,5688296579514244

%N Number of length n 1..(6+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.

%e Some solutions for n=4:

%e ..6....6....4....1....4....4....8....1....8....6....6....8....1....6....8....4

%e ..4....4....5....5....8....2....4....7....2....8....2....2....3....4....2....5

%e ..6....2....1....4....4....4....2....2....8....2....7....6....4....2....8....7

%e ..8....8....8....6....8....8....8....6....4....8....1....4....8....6....6....8

%Y Column k=6 of A254218.

%K nonn

%O 1,1

%A _R. H. Hardin_, Jan 26 2015

%E a(23)-a(25) from _Alois P. Heinz_, Jan 27 2015