OFFSET
1,2
COMMENTS
101 and 103 are twin primes.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
Chris Caldwell, The First 1,008 Twin Primes.
EXAMPLE
If n=0, then 103*n + 101 = 101 (prime).
If n=74, then 103*n + 101 = 7723 (prime).
MAPLE
a:=proc(n) if isprime(103*n+101)=true then n else fi end: seq(a(n), n=0..700); # Emeric Deutsch
MATHEMATICA
Select[Range[0, 600], PrimeQ[103#+101]&] (* Harvey P. Dale, Mar 14 2015 *)
PROG
(PARI) is(n)=isprime(103*n+101) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 24 2005
EXTENSIONS
More terms from Emeric Deutsch, Jun 13 2005
STATUS
approved