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.

A360311 The sum of the primes prime(n) + prime(n+1) + ... + prime(n+k) in A360297.

Original entry on oeis.org

5, 26, 124, 318, 1703, 1133, 2086, 7641, 10912775, 60927, 8764, 184252585101, 144329, 474, 1090
Offset: 1

Views

Author

Scott R. Shannon, Feb 03 2023

Keywords

Comments

See A360297 for further details.

Crossrefs

Programs

  • Python
    from sympy import prime, nextprime
    def A360311(n):
        p = prime(n)
        q = nextprime(p)
        s, k = p+q, 1
        while s%(q:=nextprime(q)):
            k += 1
            s += q
        return s # Chai Wah Wu, Feb 06 2023