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!)
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 (list; graph; refs; listen; history; text; internal format)
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

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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)