Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #12 Oct 27 2023 18:31:24
%S 2,0,1,2,2,2,2,2,5,4,5,8,31,64,83,66,60,104,158,240,846,2990,6296,
%T 8440,10213,14034,16843,15538,20339,57766,202098,751354,2575608,
%U 6730882,12332861,15945860,15602393,13432584,12250132,12687426,23661609,144529800
%N Number of length n 1..(2+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.
%H Alois P. Heinz, <a href="/A254212/b254212.txt">Table of n, a(n) for n = 1..300</a> (first 51 terms from R. H. Hardin)
%e All solutions for n=4:
%e ..4....1
%e ..2....3
%e ..3....2
%e ..1....4
%Y Column k=2 of A254218.
%K nonn
%O 1,1
%A _R. H. Hardin_, Jan 26 2015