OFFSET
1,1
COMMENTS
Conjecture: (i) a(n) exists for any n > 0. Moreover, a(n) < n*(n-1) if n > 3.
(ii) For any n > 0, there is a positive integer m such that prime(m) == -1 (mod m + n). Moreover, we may require m < n*(n-1) if n > 1.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 19 since prime(19) = 67 == 1 (mod 19 + 3).
MATHEMATICA
Do[m=1; Label[aa]; If[Mod[Prime[m]-1, m+n]==0, Print[n, " ", m]; Goto[bb]]; m=m+1; Goto[aa]; Label[bb]; Continue, {n, 1, 60}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Oct 09 2014
STATUS
approved