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!)
A094069 Prime(p)-4 for primes p such that prime(p) - 4 is prime. 1
7, 13, 37, 79, 349, 397, 457, 613, 769, 1213, 1429, 1783, 2347, 2377, 2473, 3907, 4129, 4513, 4783, 5437, 5647, 7477, 7603, 7879, 8803, 9829, 10429, 10453, 10627, 11443, 11863, 11923, 12109, 13033, 13099, 13327, 14173, 14779, 15679, 16057, 16069 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes q such that q+4 is in A006450. - Robert Israel, Nov 09 2020
LINKS
EXAMPLE
Prime(13) = 41. 41 - 4 = 37.
MAPLE
R:= NULL: p:= 7:
for i from 5 to 10000 do
q:= p; p:= nextprime(p);
if isprime(i) and q=p-4 then R:= R, q fi;
od:
R; # Robert Israel, Nov 09 2020
MATHEMATICA
Prime[#]&/@Select[Prime[Range[2, 300]], PrimeQ[Prime[#]-4]&]-4 (* Harvey P. Dale, May 21 2021 *)
PROG
(PARI) a(n) = { forprime(x=2, n, y=prime(x)- 4; if(isprime(y), print1(y", ")) ) }
CROSSREFS
Cf. A006450.
This is a subsequence of A172367.
Sequence in context: A118819 A118525 A213537 * A338812 A052378 A090607
KEYWORD
nonn
AUTHOR
Cino Hilliard, May 31 2004
EXTENSIONS
Definition corrected by Robert Israel, Nov 09 2020
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 August 23 20:58 EDT 2024. Contains 375396 sequences. (Running on oeis4.)