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.

A279934 Positive integers k such that {(k-1)*r} > 1/2, where r = golden ratio = (1 + sqrt(5))/2 and { } = fractional part.

Original entry on oeis.org

2, 4, 7, 9, 10, 12, 15, 17, 18, 20, 22, 23, 25, 28, 30, 31, 33, 36, 38, 41, 43, 44, 46, 49, 51, 52, 54, 56, 57, 59, 62, 64, 65, 67, 70, 72, 75, 77, 78, 80, 83, 85, 86, 88, 91, 93, 96, 98, 99, 101, 104, 106, 107, 109, 111, 112, 114, 117, 119, 120
Offset: 1

Views

Author

Clark Kimberling, Dec 23 2016

Keywords

Crossrefs

Cf. A005652, A279933 (complement).

Programs

  • Mathematica
    r = GoldenRatio;
    t = Table[If[FractionalPart[n r - r] < 1/2, 0, 1 ], {n, 1, 120}] (* {A078588(n-1)} *)
    Flatten[Position[t, 0]]  (* A279933 *)
    Flatten[Position[t, 1]]  (* A279934 *)

Formula

a(n) = 1 + A005652(n).

Extensions

New name from Jianing Song, Sep 12 2019