login
A107372
Numbers n such that 103*n - 101 is prime.
3
1, 4, 10, 18, 24, 36, 40, 46, 60, 64, 70, 76, 78, 88, 96, 124, 136, 144, 150, 154, 168, 178, 180, 190, 208, 210, 216, 234, 238, 244, 246, 256, 264, 294, 298, 318, 330, 334, 340, 346, 360, 378, 384, 388, 418, 420, 426, 430, 438, 444, 456, 460, 480, 486, 498, 508
OFFSET
1,2
COMMENTS
101 and 103 are twin primes.
LINKS
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
Sequence in context: A310557 A079287 A113804 * A113420 A053767 A225270
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 24 2005
EXTENSIONS
More terms from Emeric Deutsch, Jun 13 2005
STATUS
approved