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.

A204673 Primes p such that q-p = 180, where q is the next prime after p.

Original entry on oeis.org

17051707, 92510963, 92801029, 93685439, 107580877, 129956263, 135045091, 141932129, 147056531, 168804553, 215295583, 215650027, 222711131, 224901491, 235155673, 237323551, 239920979, 242246687, 244883383, 253555097, 255994261, 267546091
Offset: 1

Views

Author

M. F. Hasler, Jan 18 2012

Keywords

Programs

  • Mathematica
    a = {}; Do[If[Prime[x + 1] - Prime[x] == 180, AppendTo[a, Prime[x]]], {x, 1, 100000}]; a
    Select[Partition[Prime[Range[146*10^5]],2,1],#[[2]]-#[[1]]==180&][[All,1]] (* Harvey P. Dale, Nov 27 2022 *)
  • PARI
    p=0; g=180; for(c=1,100, while(g+p!=p=nextprime(p+1),); write("c:/temp/gap-"g".txt", c" "p-g))