The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A094107 Primes which can be written as prime(prime(k))-6 for some k>1. 0
5, 11, 53, 61, 103, 151, 173, 271, 277, 347, 503, 541, 557, 593, 733, 853, 1291, 1427, 1493, 1663, 1907, 2411, 2543, 2677, 2713, 2797, 2903, 3061, 3163, 3253, 3313, 3463, 3511, 3631, 3727, 4021, 4127, 4211, 4391, 4457, 4561, 4657, 4871, 4937, 5101, 5743 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Prime(17) = 59, 59 - 6 = 53 is a prime, thus 53 is in the sequence.
MATHEMATICA
Select[Prime[Prime[Range[2, 134]]] - 6, PrimeQ[#] &] (* Giovanni Resta, Oct 20 2012 *)
PROG
(PARI) a(n) = { forprime(x=2, n, y=prime(x)- 6; if(isprime(y), print1(y", ")) ) }
CROSSREFS
Sequence in context: A249075 A089004 A197958 * A107009 A228865 A149527
KEYWORD
nonn
AUTHOR
Cino Hilliard, May 31 2004
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 May 16 11:24 EDT 2024. Contains 372552 sequences. (Running on oeis4.)