OFFSET
1,2
COMMENTS
1019 and 1021 are twin primes.
LINKS
Chris Caldwell, The First 1,008 Twin Primes.
EXAMPLE
If n=110, then 1019*n + 1021 = 113111 (prime).
PROG
(Magma) [n: n in [0..100000] | IsPrime(1019*n + 1021)] // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(1019*n+1021) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jun 07 2005
STATUS
approved