OFFSET
1,3
COMMENTS
Conjecture: a(n) > 0 for all n > 1.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
Z.-W. Sun, On a^n+ bn modulo m, arXiv preprint arXiv:1312.1166 [math.NT], 2013-2014.
EXAMPLE
a(5) = 1 since 5 = 1 + 4 with p(1) + q(4) = 1 + 2 = 3 prime.
a(8) = 1 since 8 = 4 + 4 with p(4) + q(4) = 5 + 2 = 7 prime.
MATHEMATICA
a[n_]:=Sum[If[PrimeQ[PartitionsP[k]+PartitionsQ[n-k]], 1, 0], {k, 1, n-1}]
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Nov 25 2013
STATUS
approved