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.

A134924 Nearest-neighbors of isolated primes.

Original entry on oeis.org

1, 3, 22, 24, 36, 38, 46, 48, 52, 54, 66, 68, 78, 80, 82, 84, 88, 90, 96, 98, 112, 114, 126, 128, 130, 132, 156, 158, 162, 164, 166, 168, 172, 174, 210, 212, 222, 224, 232, 234, 250, 252, 256, 258, 262, 264, 276, 278, 292, 294, 306, 308
Offset: 1

Views

Author

Omar E. Pol, Nov 27 2007

Keywords

Crossrefs

Programs

  • Mathematica
    ip=Select[Prime[Range[65]],NoneTrue[{#-2,#+2},PrimeQ]&];Union[Flatten[Table[n+{1, -1}, {n, ip}]]] (* James C. McMahon, Apr 12 2025 *)