OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2500
FORMULA
MATHEMATICA
Table[Sum[1 + Floor[Log[GoldenRatio, (2*k + 1)/2]], {k, 1, n}], {n, 0, 100}] (* G. C. Greubel, Sep 09 2018 *)
PROG
(PARI) for(n=0, 100, print1(sum(k=1, n, 1 + floor(log((2*k+1)/2)/log((1+sqrt(5))/2))), ", ")) \\ G. C. Greubel, Sep 09 2018
(Magma) [0] cat [(&+[1+Floor(Log((2*k+1)/2)/Log((1+Sqrt(5))/2)): k in [1..n]]): n in [1..100]]; // G. C. Greubel, Sep 09 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Hieronymus Fischer, May 19 2007
STATUS
approved