login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108979 Numbers n such that 31*n + 29 is prime. 0

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

%S 0,8,12,14,18,24,32,50,60,62,68,78,84,90,98,102,104,144,150,162,164,

%T 168,188,192,194,200,204,222,230,234,248,252,260,272,278,302,318,320,

%U 330,332,342,354,362,368,384,390,402,404,410,420,428,432,440,468,474,498

%N Numbers n such that 31*n + 29 is prime.

%e If n=0 then 31*n + 29 = 29 (prime).

%e If n=98 then 31*n + 29 = 3067 (prime).

%t Select[Range[0,500],PrimeQ[31#+29]&] (* _Harvey P. Dale_, May 15 2018 *)

%o (Magma) [n: n in [0..10000] |IsPrime(31*n + 29)] - _Vincenzo Librandi_, Nov 13 2010

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

%K nonn,easy

%O 1,2

%A _Parthasarathy Nambi_, Jul 27 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 1 20:04 EDT 2024. Contains 372176 sequences. (Running on oeis4.)