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.

A167773 Primes p with property that (p-previous prime) < 6 or (next prime-p) < 6.

Original entry on oeis.org

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 59, 61, 67, 71, 73, 79, 83, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 163, 167, 179, 181, 191, 193, 197, 199, 223, 227, 229, 233, 239, 241, 269, 271, 277, 281, 283, 307, 311, 313, 317, 347
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Nov 11 2009

Keywords

Crossrefs

These are the primes not in A137869.
Cf. A053070.

Programs

  • Mathematica
    Join[{2},Select[Partition[Prime[Range[100]],3,1],#[[2]]-#[[1]]<6||#[[3]]-#[[2]]<6&][[;;,2]]] (* Harvey P. Dale, Oct 29 2023 *)

Extensions

Corrected (43 inserted) by R. J. Mathar, May 30 2010
Definition corrected to match data. - Harvey P. Dale_, Oct 29 2023