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!)
A257638 Numbers n such that n-25, n-1, n+1 and n+25 are consecutive primes. 1
232962, 311712, 431832, 435948, 473352, 501342, 525492, 596118, 635388, 665922, 699792, 754182, 842448, 1013502, 1017648, 1036002, 1156848, 1255452, 1284738, 1306692, 1479912, 1516128, 1551732, 1560708, 1595928, 1659348, 1690572, 1745112 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This is a subsequence of A014574 (average of twin prime pairs) and A256753.
The terms ending in 2 and 8 are congruent to 12 mod 30 and 18 mod 30 respectively.
The numbers n-25 and n+1 belong to A033560 (p and p+24 are primes) and A098974 (p where p+24 is the next prime).
The numbers n-25 and n-1 belong to A252089 (p and p+26 are primes).
LINKS
Eric Weisstein's World of Mathematics, Twin Primes
EXAMPLE
232962 is the average of the four consecutive primes 232937, 232961, 232963, 232987.
311712 is the average of the four consecutive primes 311687, 311711, 311713, 311737.
PROG
(Python)
from sympy import isprime, prevprime, nextprime
for i in range(0, 1000001, 6):
..if isprime(i-1) and isprime(i+1) and prevprime(i-1) == i-25 and nextprime(i+1) == i+25: print (i, end=', ')
CROSSREFS
Cf. A014574, A077800 (twin primes), A249674, A256753.
Sequence in context: A237462 A244349 A128484 * A116463 A015331 A250697
KEYWORD
nonn
AUTHOR
Karl V. Keller, Jr., Nov 04 2015
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 18 13:29 EDT 2024. Contains 371780 sequences. (Running on oeis4.)