The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A111225 Numbers n such that 5*n + 8 is prime. 6
1, 3, 7, 9, 13, 15, 19, 21, 31, 33, 37, 43, 45, 51, 55, 57, 61, 69, 73, 75, 85, 87, 91, 99, 103, 111, 117, 121, 127, 129, 133, 135, 145, 147, 153, 163, 169, 171, 175, 189, 195, 201, 205, 211, 217, 219, 223, 229, 231, 237, 241, 243, 255, 259, 273, 283, 285, 289 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
If n=103 then 5*n + 8 = 523 (prime).
MATHEMATICA
Select[Range[300], PrimeQ[5#+8]&] (* Harvey P. Dale, Oct 31 2011 *)
PROG
(Magma) [n: n in [0..100000] |IsPrime(5*n+8)] - Vincenzo Librandi, Sep 03 2010
(PARI) is(n)=isprime(5*n+8) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A330097 A330107 A330121 * A032678 A073671 A172367
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Oct 26 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 May 21 11:30 EDT 2024. Contains 372736 sequences. (Running on oeis4.)