login
Numbers n such that 181*n + 179 is prime.
0

%I #13 Sep 08 2022 08:45:19

%S 0,2,8,12,14,24,38,48,68,84,92,108,110,132,150,152,162,164,170,198,

%T 210,222,230,234,254,258,264,272,278,308,318,320,332,338,342,362,372,

%U 378,390,404,408,422,428,450,458,464,482,492,500,510,518,528,540,548,570

%N Numbers n such that 181*n + 179 is prime.

%C 179 and 181 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=84, then 181*n + 179 = 15383 (prime).

%o (Magma) [n: n in [0..100000] | IsPrime(181*n + 179)] // _Vincenzo Librandi_, Nov 13 2010

%o (PARI) is(n)=isprime(181*n+179) \\ _Charles R Greathouse IV_, Jun 13 2017

%K nonn,easy

%O 1,2

%A _Parthasarathy Nambi_, Jun 02 2005