OFFSET
1,1
COMMENTS
37 does not divide a(n) - 999 for any n because 37 divides 999 and a(n) is prime. The sequence is infinite.
REFERENCES
Joseph B. Dence and Thomas P. Dence, Elements of the Theory of Numbers, Academic Press, San Diego, 1999, p. 35.
PROG
(Magma) [p : p in PrimesUpTo(18*10^4) | p mod 1000 eq 999];
(Magma) [n : n in [999..18*10^4 by 1000] | IsPrime(n)];
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Arkadiusz Wesolowski, Oct 11 2013
STATUS
approved