login
A107369
Numbers n such that 103*n + 101 is prime.
3
0, 2, 6, 14, 20, 30, 56, 66, 72, 74, 84, 90, 102, 116, 132, 134, 146, 150, 162, 164, 176, 186, 206, 212, 216, 224, 234, 240, 246, 254, 260, 282, 312, 314, 326, 332, 342, 344, 350, 354, 360, 366, 380, 402, 410, 414, 444, 450, 482, 486, 492, 510, 512, 534, 540
OFFSET
1,2
COMMENTS
101 and 103 are twin primes.
LINKS
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
Sequence in context: A067664 A130800 A067262 * A151731 A009779 A086666
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 24 2005
EXTENSIONS
More terms from Emeric Deutsch, Jun 13 2005
STATUS
approved