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!)
A111224 Numbers n such that 5*n + 7 is prime. 1
0, 2, 6, 8, 12, 18, 20, 24, 26, 30, 32, 38, 44, 50, 54, 60, 62, 66, 68, 72, 78, 90, 92, 96, 108, 110, 114, 116, 120, 122, 128, 134, 144, 150, 156, 158, 164, 170, 174, 176, 180, 186, 188, 192, 194, 198, 216, 218, 222, 236, 242, 246, 254, 258, 260, 264, 272, 284 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
If n=108 then 5*n + 7 = 547 (prime).
MATHEMATICA
Select[Range[0, 300], PrimeQ[5#+7]&] (* Harvey P. Dale, Jun 24 2018 *)
PROG
(Magma) [n: n in [0..300] | IsPrime(5*n+7)]; - Vincenzo Librandi, Sep 03 2010
(PARI) is(n)=isprime(5*n+7) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
Sequence in context: A111051 A077561 A008407 * A139718 A173340 A135311
KEYWORD
nonn,easy
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 April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)