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.

A139322 Record values of n in A068307.

Original entry on oeis.org

1, 6, 9, 15, 17, 21, 27, 33, 39, 41, 45, 47, 51, 53, 57, 63, 65, 71, 77, 83, 89, 95, 101, 107, 113, 119, 125, 131, 137, 143, 149, 155, 161, 167, 173, 185, 191, 197, 203, 209, 215, 221, 227, 233, 239, 245, 251, 257, 269, 275, 277, 281, 287, 293, 299, 305, 311, 317
Offset: 0

Views

Author

Robert G. Wilson v, Apr 13 2008

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := Block[{c = 0, lmt = PrimePi@ Floor[n/2], p, q}, Do[p = Prime@ i; q = Prime@ j; r = n - p - q; If[ PrimeQ@ r && r >= p, c++ ], {i, lmt}, {j, i}]; c]; lst = {1}; Do[ If[f@n > f@lst[[ -1]], AppendTo[lst, n]], {n, 13450}]; lst