login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024554 a(n) = Sum_{k=1..n} floor( 1/{k*sqrt(5)} ), where {x} := x - floor(x). 2
4, 6, 7, 8, 13, 15, 16, 17, 25, 27, 28, 29, 43, 46, 47, 48, 124, 128, 130, 131, 132, 137, 139, 140, 141, 148, 150, 151, 152, 164, 167, 168, 169, 207, 210, 212, 213, 214, 218, 220, 221, 222, 228, 230, 231, 232, 242, 245, 246, 247, 272, 275, 276, 277, 278, 282, 284, 285, 286 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Table[Sum[Floor[1/FractionalPart[k*Sqrt[5]]], {k, 1, n}], {n, 1, 100}]
(* Clark Kimberling, Aug 16 2012 *)
PROG
(Magma)a:=Sqrt(5); [&+[Floor(1/(k*a-Floor(k*a))):k in [1..n]]:n in [1..59]]; // Marius A. Burtea, Jul 16 2019
CROSSREFS
Cf. A024555. Partial sums of A024553.
Sequence in context: A100349 A326892 A047507 * A078744 A024555 A363375
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 11:46 EDT 2024. Contains 371241 sequences. (Running on oeis4.)