login
The OEIS is supported by the many generous donors to the OEIS 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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105772 Numbers k such that 7*k + 2 is prime. 8
0, 3, 5, 11, 15, 21, 23, 27, 33, 45, 47, 51, 53, 57, 63, 65, 71, 77, 81, 93, 101, 107, 117, 123, 125, 131, 135, 147, 155, 161, 167, 173, 183, 185, 195, 197, 201, 203, 207, 213, 221, 231, 251, 255, 257, 267, 273, 285, 287, 291, 293, 297, 305, 311, 315, 317, 333 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..10000

EXAMPLE

If k=0, then 7*k + 2 = 2 (prime).

If k=63, then 7*63 + 2 = 443 (prime).

MATHEMATICA

Select[Range[0, 500], PrimeQ[7#+2]&] (* Harvey P. Dale, Apr 21 2011 *)

PROG

(Magma) [n: n in [0..500]| IsPrime(7*n + 2)]; // Vincenzo Librandi, Feb 03 2011

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

CROSSREFS

Sequence in context: A316151 A265121 A281575 * A244520 A034169 A217384

Adjacent sequences: A105769 A105770 A105771 * A105773 A105774 A105775

KEYWORD

nonn

AUTHOR

Parthasarathy Nambi, May 04 2005

EXTENSIONS

More terms from Rick L. Shepherd, May 18 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 November 26 20:01 EST 2022. Contains 358362 sequences. (Running on oeis4.)