login
Number of length 5 1..(n+2) arrays with no leading or trailing partial sum equal to a prime
1

%I #4 Jan 26 2015 20:45:46

%S 1,11,21,176,204,898,1653,4078,5075,11512,13456,25925,37275,60717,

%T 69689,114352,127928,195039,251161,349001,385157,552907,667293,892038,

%U 1075280,1385235,1510110,2006079,2156703,2694466,3157069,3885393,4484057,5564130

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

%C Row 5 of A254204

%H R. H. Hardin, <a href="/A254208/b254208.txt">Table of n, a(n) for n = 1..210</a>

%e Some solutions for n=4

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

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

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

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

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

%K nonn

%O 1,2

%A _R. H. Hardin_, Jan 26 2015