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!)
A350863 Primes p such that p and p+6 are consecutive primes, and p+36 and p+42 are consecutive primes. 1
47, 131, 331, 557, 571, 941, 977, 1181, 1187, 1621, 1741, 2677, 3691, 3761, 4561, 4951, 5407, 5521, 5807, 5861, 6037, 6317, 6337, 6977, 7481, 7541, 7681, 8081, 8887, 10847, 11897, 12511, 12541, 12547, 12577, 13591, 14717, 15227, 15271, 15761, 15767, 19231, 19441, 22031, 22901, 23167, 25111, 25147 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Intersection of A031924 and its translate by -36.

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

EXAMPLE

a(3) = 331 is a term because 331 and 331+6 = 337 are consecutive primes and 331+36 = 367 and 331+42 = 373 are consecutive primes.

MAPLE

P:= {seq(ithprime(i), i=1..3000)}:

R:= P intersect map(`-`, P, 6) intersect map(`-`, P, 36) intersect map(`-`, P, 42) minus map(`-`, P, 2) minus map(`-`, P, 4) minus map(`-`, P, 38) minus map(`-`, P, 40):

sort(convert(R, list));

MATHEMATICA

Select[Range[25000], And @@ PrimeQ[(ps = # + {0, 36})] && NextPrime[ps] == ps + {6, 6} &] (* Amiram Eldar, Jan 20 2022 *)

CROSSREFS

Cf. A031924.

Sequence in context: A235176 A044298 A044679 * A253225 A039530 A288408

Adjacent sequences:  A350860 A350861 A350862 * A350864 A350865 A350866

KEYWORD

nonn

AUTHOR

J. M. Bergot amd Robert Israel, Jan 19 2022

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 14 13:43 EDT 2022. Contains 356117 sequences. (Running on oeis4.)