OFFSET
1,5
COMMENTS
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
Z.-W. Sun, Problems on combinatorial properties of primes, arXiv:1402.6641, 2014
EXAMPLE
MATHEMATICA
p[n_]:=PrimeQ[PartitionsQ[n]^2+(PartitionsP[n]-PartitionsQ[n])^2]
a[n_]:=Sum[If[p[k+EulerPhi[n-k]/2], 1, 0], {k, 1, n-3}]
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Jan 25 2014
STATUS
approved