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.

A088770 a(n) = (A087683(n)-1)/2.

Original entry on oeis.org

6, 10, 13, 16, 25, 28, 31, 34, 46, 49, 58, 70, 73, 91, 94, 100, 130, 133, 136, 151, 160, 163, 178, 181, 184, 199, 205, 214, 226, 238, 244, 256, 265, 283, 298, 301, 304, 325, 331, 364, 409, 424, 433, 436, 448, 478, 490, 493, 511, 514, 520, 529, 553, 556, 559
Offset: 1

Views

Author

Ray Chandler, Oct 26 2003

Keywords

Crossrefs

Programs

  • Magma
    [(n-1)/2: n in [8..2000] |IsPrime(n+10) and IsPrime(n-10)]; // Vincenzo Librandi, May 22 2017
  • Mathematica
    Rest[f[n_]:=PrimeQ[n - 10] && PrimeQ[n + 10]; lst={}; Do[If[f[n], AppendTo[lst, (n - 1) / 2]], {n, 5, 7!, 2}]; lst] (* Vincenzo Librandi, May 22 2017 *)