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.

A013638 a(n) = prevprime(n)*nextprime(n).

Original entry on oeis.org

10, 15, 21, 35, 55, 77, 77, 77, 91, 143, 187, 221, 221, 221, 247, 323, 391, 437, 437, 437, 551, 667, 667, 667, 667, 667, 713, 899, 1073, 1147, 1147, 1147, 1147, 1147, 1271, 1517, 1517, 1517, 1591, 1763, 1927
Offset: 3

Views

Author

Keywords

Crossrefs

Programs

  • Haskell
    a013638 n = a151799 n * a151800 n  -- Reinhard Zumkeller, May 22 2015
  • Maple
    [ seq(prevprime(i)*nextprime(i),i=3..70) ];
  • Mathematica
    a[n_] := NextPrime[n, -1] NextPrime[n];
    Table[a[n], {n, 3, 50}] (* Jean-François Alcover, Aug 02 2018 *)

Formula

a(n) = A151799(n)*A151800(n). - Reinhard Zumkeller, May 22 2015