cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A368462 Prime averages of first k odd primes for some k.

Original entry on oeis.org

3, 5, 1117, 200325407
Offset: 1

Views

Author

Ya-Ping Lu, Dec 25 2023

Keywords

Comments

a(5) > 8*10^10.

Crossrefs

Prime terms of A363477.

Programs

  • 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 = ", ")