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.

A268465 Primes of the form m*prime(m) + (m + 1)*prime(m + 1) + (m + 2)*prime(m + 2).

Original entry on oeis.org

23, 349, 1579, 4691, 5783, 7187, 9547, 11519, 15377, 45779, 52289, 353359, 361787, 384277, 510227, 678413, 710599, 1007861, 1218709, 1301617, 1484449, 1567567, 1839469, 2073989, 2264959, 2409163, 2438377, 2520779, 2735281, 2882653, 2998867, 3100271, 3211751
Offset: 1

Views

Author

Zak Seidov, Feb 05 2016

Keywords

Comments

Primes arising in A105455.
Primes of the form A033286(m)+A033286(m+1)+A033286(m+2).

Crossrefs

Cf. A033286.

Programs

  • Python
    from itertools import islice
    from sympy import isprime, nextprime
    def agen(): # generator of terms
        m, p, q, r = 1, 2, 3, 5
        while True:
            t = m*p + (m+1)*q + (m+2)*r
            if isprime(t): yield t
            m, p, q, r = m+1, q, r, nextprime(r)
    print(list(islice(agen(), 33))) # Michael S. Branicky, May 17 2022

Extensions

Typo in a(28) fixed by Seth A. Troisi, May 17 2022
a(29) and beyond from Michael S. Branicky, May 17 2022