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.

A364840 Numbers k such that the product of the first k primes - 1 is a semiprime.

Original entry on oeis.org

4, 7, 10, 11, 14, 17, 20, 21, 25, 26, 48, 51, 55, 85, 96, 127, 149, 150, 170
Offset: 1

Views

Author

Sean A. Irvine, Oct 21 2023

Keywords

Crossrefs

Programs

  • PARI
    isok(k) = bigomega(-1 + prod(j=1, k, prime(j))) == 2;

Formula

a(n) = primepi(A104876(n)).