OFFSET
0,6
COMMENTS
Conjecture of Zhi-Wei Sun: a(n) < n for n > 1.
LINKS
Sean A. Irvine, Table of n, a(n) for n = 0..9999
Zhi-Wei Sun, Problems on combinatorial properties of primes, arXiv:1402.6641 [math.NT], 2014-2016. See Conjecture 4.1(ii).
EXAMPLE
a(5)=2 since q(5)+p(2)=3+2=5 is prime but q(5)+p(1)=4 is composite.
MATHEMATICA
a[n_] := For[k = 1, True, k++, If[PrimeQ[PartitionsP[k] + PartitionsQ[n]], Return[k]]]; Table[a[n], {n, 0, 100}] (* Jean-François Alcover, Feb 19 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Mar 29 2014
STATUS
approved