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