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!)
A166009 Primes of the form 7 + 2*p, where p is a prime. 1
11, 13, 17, 29, 41, 53, 89, 101, 113, 149, 173, 233, 269, 281, 353, 389, 401, 461, 509, 521, 569, 593, 641, 701, 773, 809, 929, 941, 1013, 1049, 1181, 1193, 1289, 1301, 1361, 1373, 1409, 1493, 1553, 1601, 1721, 1733, 1889, 1901, 1913, 1949, 1973, 2069, 2129 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Starting with n=3 both a(n) and A023206(n) == 5 mod 6. - Zak Seidov, Oct 23 2009
LINKS
FORMULA
a(n) = 7 + 2*A023206(n). - R. J. Mathar, Oct 05 2009
EXAMPLE
13 is in the sequence because 13 = 7 + 2*3 and 3 are both primes.
MATHEMATICA
Clear[lst, n, f] f[n_]:=PrimeQ[(n-1)/2-3]; lst={}; Do[p=Prime[n]; If[f[p], AppendTo[lst, p]], {n, 7!}]; lst (* Vladimir Joseph Stephan Orlovsky, Oct 13 2009 *)
s={11, 13}; Do[If[PrimeQ[n]&&PrimeQ[(n-7)/2], AppendTo[s, n]], {n, 17, 10^3, 6}]; s (* Zak Seidov, Oct 23 2009 *)
Select[2#+7&/@Prime[Range[200]], PrimeQ] (* Harvey P. Dale, Dec 15 2010 *)
PROG
(PARI) lista(nn) = {forprime(p=2, nn, if (isprime(q=2*p+7), print1(q, ", ")); ); } \\ Michel Marcus, Nov 08 2014
CROSSREFS
Cf. A023206. - Zak Seidov, Oct 23 2009
Sequence in context: A356383 A335976 A052031 * A240107 A105892 A111337
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Oct 04 2009
EXTENSIONS
1089 replaced with 1049 by R. J. Mathar, Oct 05 2009
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 April 25 09:16 EDT 2024. Contains 371967 sequences. (Running on oeis4.)