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!)
A268305 Numbers n such that n - 37, n - 1, n + 1, n + 37 are consecutive primes. 1
1524180, 3264930, 3970530, 5438310, 5642910, 6764940, 8176410, 10040880, 10413900, 10894320, 11639520, 12352980, 13556340, 15900720, 16897590, 17283360, 18168150, 18209100, 18686910, 19340220, 20099940, 20359020, 20483340, 21028290, 21846360 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This sequence is a subsequence of A014574 (average of twin prime pairs), A249674 (divisible by 30) and A256753.
The numbers n - 37 and n + 1 belong to A156104 (p and p + 36 are primes) and A134117 (p where p + 36 is the next prime).
The numbers n - 37 and n - 1 belong to A271347 (p and p + 38 are primes).
LINKS
Eric Weisstein's World of Mathematics, Twin Primes
EXAMPLE
1524180 is the average of the four consecutive primes 1524143, 1524179, 1524181, 1524217.
3264930 is the average of the four consecutive primes 3264893, 3264929, 3264931, 3264967.
MATHEMATICA
Select[Partition[Prime[Range[14*10^5]], 4, 1], Differences[#]=={36, 2, 36}&][[All, 2]]+1 (* Harvey P. Dale, Mar 12 2018 *)
PROG
(Python)
from sympy import isprime, prevprime, nextprime
for i in range(0, 30000001, 6):
..if isprime(i-1) and isprime(i+1) and prevprime(i-1) == i-37 and nextprime(i+1) == i+37 : print (i, end=', ')
CROSSREFS
Cf. A014574, A077800 (twin primes), A249674, A256753.
Sequence in context: A346674 A236154 A126252 * A364701 A236117 A255694
KEYWORD
nonn
AUTHOR
Karl V. Keller, Jr., Apr 17 2016
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 23 07:57 EDT 2024. Contains 371905 sequences. (Running on oeis4.)