%I #15 Sep 08 2022 08:45:18
%S 0,6,18,20,44,50,56,78,98,104,110,120,126,134,138,144,170,174,180,188,
%T 204,218,240,246,254,258,260,266,270,284,296,306,308,324,348,354,386,
%U 396,408,410,414,420,450,456,464,476,488,510,518,524,534,540,546,554
%N Numbers n such that 109*n + 107 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=104, then 109*n + 107 = 11443 (prime).
%t Select[Range[0,600],PrimeQ[109#+107 ]&] (* _Harvey P. Dale_, Oct 06 2017 *)
%o (Magma) [n: n in [0..100000] | IsPrime(109*n + 107)] // _Vincenzo Librandi_, Nov 13 2010
%o (PARI) is(n)=isprime(109*n+107) \\ _Charles R Greathouse IV_, Jun 13 2017
%K nonn,easy
%O 1,2
%A _Parthasarathy Nambi_, May 25 2005