OFFSET
1,1
EXAMPLE
a(1) = 3 because 2 + 3 + 5 = 2*prime(3) and p(3) = 5 is the least such prime summand.
MATHEMATICA
z = 2800; f[n_] := Sum[Prime[k], {k, 1, n}]; p[n_] := If[PrimeQ[f[n]/2], 1, 0]; t = Table[p[n], {n, 1, z}]; Flatten[Position[t, 1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Oct 01 2013
STATUS
approved