login
This site is supported by donations to The OEIS Foundation.

 

Logo


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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 12 14:43 EST 2019. Contains 329058 sequences. (Running on oeis4.)