OFFSET
0,1
COMMENTS
Conjecture of Zhi-Wei Sun: a(n) < n for n > 7.
Verified up to 6*10^8. - Sean A. Irvine, Apr 07 2014
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, 2014. See Conjecture 4.1(ii).
EXAMPLE
a(7)=8 because k=8 is the smallest k such that 7+A000041(k) is prime.
MATHEMATICA
a[n_] := For[k = 1, True, k++, If[PrimeQ[n + PartitionsP[k]], Return[k]]];
Table[a[n], {n, 0, 100}] (* Jean-François Alcover, Dec 15 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Apr 07 2014
STATUS
approved