login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111249 Numbers n such that 7*n + 8 is prime. 1
3, 5, 9, 15, 17, 27, 29, 33, 39, 47, 53, 59, 63, 65, 69, 77, 87, 89, 93, 95, 99, 105, 107, 117, 125, 129, 135, 137, 143, 149, 155, 165, 183, 185, 195, 203, 209, 213, 225, 227, 237, 243, 245, 267, 275, 285, 287, 297, 303, 305, 315, 323, 327, 329, 333, 339, 345 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

One less than the associated entry in A024905.

LINKS

Table of n, a(n) for n=1..57.

EXAMPLE

If n=125 then 7*n + 8 = 883 (prime).

MAPLE

A111249:=n->`if`(isprime(7*n+8), n, NULL): seq(A111249(n), n=1..10^3); # Wesley Ivan Hurt, Feb 13 2017

MATHEMATICA

Select[Range[1, 351, 2], PrimeQ[7#+8]&] (* Harvey P. Dale, Sep 11 2016 *)

PROG

(MAGMA) [n: n in [0..100000] | IsPrime(7*n+8)] // Vincenzo Librandi, Nov 13 2010

(PARI) is(n)=isprime(7*n+8) \\ Charles R Greathouse IV, Feb 14 2017

CROSSREFS

Cf. A024900, A024902, A024905, A105772.

Sequence in context: A143512 A174688 A339345 * A190804 A100812 A274432

Adjacent sequences:  A111246 A111247 A111248 * A111250 A111251 A111252

KEYWORD

nonn

AUTHOR

Parthasarathy Nambi, Oct 31 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 15:18 EST 2021. Contains 349563 sequences. (Running on oeis4.)