login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A105772
Numbers k such that 7*k + 2 is prime.
9
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
OFFSET
1,2
LINKS
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
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, May 04 2005
EXTENSIONS
More terms from Rick L. Shepherd, May 18 2005
STATUS
approved