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

%I #4 Jan 26 2015 20:39:29

%S 2,1,2,6,11,27,53,133,310,691,1722,4898,13169,31188,68247,151695,

%T 355719,880650,2386625,7052660,20845775,57431942,145661869,346176887,

%U 792710311,1828054653,4509979089,12381748520,37284100779,117101693844,362950924700

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

%C Column 2 of A254204

%H R. H. Hardin, <a href="/A254198/b254198.txt">Table of n, a(n) for n = 1..49</a>

%e All solutions for n=4

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

%e ..2....4....2....2....3....4

%e ..4....2....3....2....2....4

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Jan 26 2015