[go: up one dir, main page]

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!)
Revision History for A257638 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A257638 Numbers n such that n-25, n-1, n+1 and n+25 are consecutive primes.
(history; published version)
#14 by Alois P. Heinz at Wed Mar 08 04:00:26 EST 2023
STATUS

reviewed

approved

#13 by Joerg Arndt at Wed Mar 08 02:28:30 EST 2023
STATUS

proposed

reviewed

#12 by Michel Marcus at Wed Mar 08 01:35:21 EST 2023
STATUS

editing

proposed

#11 by Michel Marcus at Wed Mar 08 01:35:06 EST 2023
LINKS

Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/TwinPrimes.html"> ">Twin Primes</a>

STATUS

approved

editing

#10 by N. J. A. Sloane at Tue Nov 17 19:17:28 EST 2015
STATUS

editing

approved

#9 by N. J. A. Sloane at Tue Nov 17 19:17:03 EST 2015
NAME

Numbers n such wherethat n-25, n-1, n+1 and n+25 are consecutive primes.

STATUS

proposed

editing

Discussion
Tue Nov 17 19:17
N. J. A. Sloane: "such that" sounds better, I think
#8 by Karl V. Keller, Jr. at Wed Nov 04 17:58:06 EST 2015
STATUS

editing

proposed

#7 by Karl V. Keller, Jr. at Wed Nov 04 17:55:13 EST 2015
PROG

.. ..if isprime(i-1) and isprime(i+1) and prevprime(i-1) == i-25 and nextprime(i+1) == i+25: print (i, end=', ')

#6 by Karl V. Keller, Jr. at Wed Nov 04 17:53:27 EST 2015
LINKS

Karl V. Keller, Jr., <a href="/A257638/b257638.txt">Table of n, a(n) for n = 1..10000</a>

#5 by Karl V. Keller, Jr. at Wed Nov 04 17:49:58 EST 2015
NAME

allocatedNumbers forn Karlwhere V. Kellern-25, n-1, Jrn+1 and n+25 are consecutive primes.

DATA

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

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, <a href="http://mathworld.wolfram.com/TwinPrimes.html"> Twin Primes</a>

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.

KEYWORD

allocated

nonn

AUTHOR

Karl V. Keller, Jr., Nov 04 2015

STATUS

approved

editing

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 29 09:16 EDT 2024. Contains 375511 sequences. (Running on oeis4.)