OFFSET
0,6
COMMENTS
FORMULA
a(n) = convolve(c,c) where c(n) is the sequence defined by 1 if (2*n+1) is odd nonprime (includes 1), and 0 if (2*n+1) is odd prime.
EXAMPLE
n=15, 2*n=30, 2*n = { 9+21, 15+15, 21+9 }, a(15) = 3.
n=18, 2*n=36, 2*n = { 1+35, 9+27, 15+21, 21+15, 27+9, 35+1 }, a(18) = 6.
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter A. Lawrence, Aug 11 2012
STATUS
approved