login
A107406
Numbers n such that 107*n - 109 is prime.
1
24, 28, 34, 46, 54, 60, 78, 90, 94, 96, 108, 118, 124, 138, 144, 148, 154, 160, 186, 208, 216, 220, 238, 244, 250, 256, 274, 276, 280, 286, 288, 300, 306, 316, 330, 346, 358, 364, 376, 390, 414, 418, 424, 438, 484, 486, 490, 496, 504, 516, 538, 544, 546, 550
OFFSET
1,1
COMMENTS
107 and 109 are twin primes.
EXAMPLE
If n=96, then 107*n - 109 = 10163 (prime).
MATHEMATICA
Select[Range[2, 600], PrimeQ[107#-109]&] (* Harvey P. Dale, Aug 18 2014 *)
PROG
(Magma) [n: n in [2..100000] | IsPrime(107*n - 109)] // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(107*n-109) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A164778 A268540 A030500 * A206261 A217441 A045668
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 25 2005
STATUS
approved