OFFSET
1,4
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 1. Similarly, for any integer n > 5, there is a positive integer k < n with q(k)*q(n-k) - 1 prime.
(ii) Let n > 1 be an integer. Then p(k) + q(n-k)^2 is prime for some 0 < k < n, where p(.) is the partition function (A000041). If n is not equal to 8, then k^3 + q(n-k)^2 is prime for some 0 < k < n.
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(14) = 1 since q(1)*q(13) + 1 = 1*18 + 1 = 19 is prime.
a(17) = 1 since q(4)*q(13) + 1 = 2*18 + 1 = 37 is prime.
a(27) = 1 since q(13)*q(14) + 1 = 18*22 + 1 = 397 is prime.
MATHEMATICA
a[n_]:=Sum[If[PrimeQ[PartitionsQ[k]*PartitionsQ[n-k]+1], 1, 0], {k, 1, n/2}]
Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Dec 09 2013
STATUS
approved