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.

A031927 Upper prime of a difference of 8 between consecutive primes.

Original entry on oeis.org

97, 367, 397, 409, 457, 487, 499, 691, 709, 727, 751, 769, 919, 937, 991, 1117, 1171, 1201, 1381, 1447, 1531, 1567, 1579, 1741, 1831, 1987, 2011, 2161, 2221, 2251, 2281, 2467, 2539, 2617, 2671, 2707, 2749, 2851, 2887, 2917, 3019, 3049
Offset: 0

Views

Author

Keywords

Programs

  • Maple
    for i from 1 to 440 do if ithprime(i+1) = ithprime(i) + 8 then print({ithprime(i+1)}); fi; od; # Zerinvary Lajos, Mar 19 2007
  • Mathematica
    Select[Partition[Prime[Range[500]],2,1],#[[2]]-#[[1]]==8&][[All,2]] (* Harvey P. Dale, Aug 28 2017 *)