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
0, 8, 12, 14, 18, 24, 32, 50, 60, 62, 68, 78, 84, 90, 98, 102, 104, 144, 150, 162, 164, 168, 188, 192, 194, 200, 204, 222, 230, 234, 248, 252, 260, 272, 278, 302, 318, 320, 330, 332, 342, 354, 362, 368, 384, 390, 402, 404, 410, 420, 428, 432, 440, 468, 474, 498 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
If n=0 then 31*n + 29 = 29 (prime).
If n=98 then 31*n + 29 = 3067 (prime).
MATHEMATICA
Select[Range[0, 500], PrimeQ[31#+29]&] (* Harvey P. Dale, May 15 2018 *)
PROG
(Magma) [n: n in [0..10000] |IsPrime(31*n + 29)] - Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(31*n+29) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A244723 A106669 A329865 * A107071 A114414 A032455
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jul 27 2005
STATUS
approved

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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)