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.

A360312 The dividing prime prime(n+k+1) in A360297.

Original entry on oeis.org

5, 13, 31, 53, 131, 103, 149, 283, 14081, 883, 313, 2281229, 1429, 79, 109
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 A360312(n):
        p = prime(n)
        q = nextprime(p)
        s, k = p+q, 1
        while s%(q:=nextprime(q)):
            k += 1
            s += q
        return q # Chai Wah Wu, Feb 06 2023