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.

Showing 1-2 of 2 results.

A087681 Numbers n such that n + 6 and n - 6 are both prime.

Original entry on oeis.org

11, 13, 17, 23, 25, 35, 37, 47, 53, 65, 67, 73, 77, 95, 103, 107, 133, 143, 145, 157, 173, 185, 187, 205, 217, 233, 235, 245, 257, 263, 275, 277, 287, 343, 353, 373, 395, 403, 415, 425, 427, 437, 455, 473, 485, 493, 497, 515, 563, 593, 607, 613, 625, 637, 647
Offset: 1

Views

Author

Zak Seidov, Sep 27 2003

Keywords

Comments

Many terms are of the form 5 + n + n^2 or 5 + 2*n^2: A054794.

Crossrefs

Programs

  • Mathematica
    f[n_]:=PrimeQ[n-6]&&PrimeQ[n+6]; lst={}; Do[If[f[n],AppendTo[lst,n]],{n,2,7!,1}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 12 2009 *)
    Select[Range[2,700],AllTrue[#+{6,-6},PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jan 26 2019 *)

A054795 Numbers of form 23+n^2+n or 23+2*n^2.

Original entry on oeis.org

23, 25, 29, 31, 35, 41, 43, 53, 55, 65, 73, 79, 95, 113, 121, 133, 151, 155, 179, 185, 205, 223, 233, 263, 265, 295, 311, 329, 361, 365, 403, 415, 443, 473, 485, 529, 535, 575, 601, 623, 671, 673, 725, 745, 779, 823, 835, 893, 905, 953, 991, 1015, 1079
Offset: 1

Views

Author

Stuart M. Ellerstein (ellerstein(AT)aol.com), Apr 27 2000

Keywords

Crossrefs

Extensions

More terms from James Sellers, Apr 28 2000
Showing 1-2 of 2 results.