login
Number of length n 1..(5+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:10:45

%S 3,2,12,24,70,192,633,2484,10554,35054,102520,337948,1366804,6000028,

%T 24951622,94266262,337342046,1263530794,5269371063,23209051416,

%U 98571237345,383041820280,1353435250769,4542413798878,16490190511798,76615460665948,434914649543770

%N Number of length n 1..(5+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....6....4....4....1....4....1....4....4....4....4....1....6....1....6

%e ..2....2....4....6....6....5....5....5....2....2....6....2....3....4....5....4

%e ..6....7....2....4....2....3....3....6....4....6....2....3....2....6....4....2

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

%Y Column k=5 of A254218.

%K nonn

%O 1,1

%A _R. H. Hardin_, Jan 26 2015

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