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.

A338386 The smallest number from the n-membered group of single (non-twin) primes.

Original entry on oeis.org

23, 47, 79, 79, 353, 353, 353, 353, 353, 353, 673, 673, 673, 673, 673, 673, 673, 673, 8641, 8641, 8641, 8641, 13411, 13411, 13411, 14633, 14633, 24439, 24439, 24439, 24439, 24439, 24439, 24439, 24439, 24439, 24439, 24439, 24439, 24439, 62303, 62303, 62303, 62303
Offset: 1

Views

Author

Todor Szimeonov, Oct 23 2020

Keywords

Comments

Note that "single" means both non-twin and not 2.

Crossrefs

Programs

  • Mathematica
    c = cm = s1 = 0; p = 3; q = 5; s = {}; Do[If[c == 0, s1 = q]; r = NextPrime[q]; If[r > q + 2 && q > p + 2, c++, c = 0]; If[c > cm, cm = c; AppendTo[s, s1]]; p = q; q = r, {10^4}]; s (* Amiram Eldar, Oct 25 2020 *)

Extensions

More terms from Amiram Eldar, Oct 25 2020