%I #15 Sep 08 2022 08:45:18
%S 24,28,34,46,54,60,78,90,94,96,108,118,124,138,144,148,154,160,186,
%T 208,216,220,238,244,250,256,274,276,280,286,288,300,306,316,330,346,
%U 358,364,376,390,414,418,424,438,484,486,490,496,504,516,538,544,546,550
%N Numbers n such that 107*n - 109 is prime.
%C 107 and 109 are twin primes.
%H Chris Caldwell, <a href="http://www.utm.edu/research/primes/lists/small/1ktwins.txt">The First 1,008 Twin Primes</a>.
%e If n=96, then 107*n - 109 = 10163 (prime).
%t Select[Range[2,600],PrimeQ[107#-109]&] (* _Harvey P. Dale_, Aug 18 2014 *)
%o (Magma) [n: n in [2..100000] | IsPrime(107*n - 109)] // _Vincenzo Librandi_, Nov 13 2010
%o (PARI) is(n)=isprime(107*n-109) \\ _Charles R Greathouse IV_, Jun 13 2017
%K nonn,easy
%O 1,1
%A _Parthasarathy Nambi_, May 25 2005
|