OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
If n=2, then 1000*n - 1 = 1000*2 - 1 = 1999 (prime).
If n=99, then 1000*n - 1 = 1000*99 - 1 = 98999 (prime).
MATHEMATICA
Select[Range[300], PrimeQ[1000 # - 1] &] (* Harvey P. Dale, Oct 05 2016 *)
PROG
(Magma) [n: n in [0..100000] | IsPrime(1000*n - 1)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(1000*n-1) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Apr 03 2005
STATUS
approved