[go: up one dir, main page]

login
A368462
Prime averages of first k odd primes for some k.
0
3, 5, 1117, 200325407
OFFSET
1,1
COMMENTS
a(5) > 8*10^10.
PROG
(Python)
from sympy import nextprime, isprime
p, s, k = 2, 0, 0
while k < 3*10**7:
p = nextprime(p); s += p; k += 1; r = divmod(s, k)
if r[1] == 0 and isprime(r[0]): print(r[0], end = ", ")
CROSSREFS
Prime terms of A363477.
Sequence in context: A012783 A062655 A364547 * A090807 A364551 A138154
KEYWORD
nonn,more
AUTHOR
Ya-Ping Lu, Dec 25 2023
STATUS
approved