OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
C. Kimberling, Problem 10520, Amer. Math. Mon. 103 (1996) p. 347.
MATHEMATICA
Table[Sum[Floor[n*Sqrt[2]^(2 - k)], {k, 1, 1000}], {n, 1, 50}] (* G. C. Greubel, May 31 2018 *)
PROG
(PARI) for(n=1, 30, print1(sum(k=1, 1000, floor(n*sqrt(2)^(2-k))), ", ")) \\ G. C. Greubel, May 31 2018
(Magma) [(&+[Floor(n*Sqrt(2)^(2-k)): k in [1..1000]]): n in [1..30]]; // G. C. Greubel, May 31 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms a(31) onward added by G. C. Greubel, May 31 2018
STATUS
approved