login
Numbers n such that 23*n + 2 is prime.
0

%I #14 Sep 12 2024 16:03:29

%S 0,3,7,15,19,25,33,37,43,49,63,67,87,93,103,105,115,117,129,133,157,

%T 159,165,169,175,177,183,189,193,217,219,235,243,247,253,255,267,277,

%U 297,303,309,315,325,327,337,345,355,367,373,375,379,393,397,415,435,439

%N Numbers n such that 23*n + 2 is prime.

%e If n=217 then 23*n + 2 = 4993 (prime).

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

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

%K nonn,easy

%O 1,2

%A _Parthasarathy Nambi_, Nov 01 2005