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=64, then 103*n - 101 = 6491 (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[600], PrimeQ[103#-101]&] (* Harvey P. Dale, Oct 03 2012 *)
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