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.

A024570 a(n) = Sum_{k=1..n} [ 1/{k*r} ] where r = (1 + sqrt(5))/2 and {x} := x - [ x ].

Original entry on oeis.org

1, 5, 6, 8, 19, 20, 23, 24, 25, 30, 31, 33, 62, 63, 66, 67, 68, 76, 77, 79, 80, 81, 85, 86, 88, 102, 103, 106, 107, 108, 114, 115, 117, 193, 194, 198, 199, 201, 210, 211, 213, 214, 215, 220, 221, 223, 244, 245, 248, 249, 250, 257, 258, 260, 261, 262, 266, 267, 269, 281, 282, 285
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A024571. Partial sums of A024569.

Programs

  • Mathematica
    Table[Sum[Floor[1/FractionalPart[k*GoldenRatio]], {k, n}], {n, 100}] (* Clark Kimberling, Aug 15 2012 *)

Extensions

Corrected by Clark Kimberling, Aug 15 2012