OFFSET
1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
PROG
(PARI) for(n=1, 30, print1(floor(n*(sqrt(2) + 1/sqrt(2))) - floor(n*sqrt(2)) - floor(n/sqrt(2)), ", ")) \\ G. C. Greubel, Dec 28 2017
(Magma) [Floor(n*(Sqrt(2) + 1/Sqrt(2))) - Floor(n*Sqrt(2)) - Floor(n/Sqrt(2)): n in [1..30]]; // G. C. Greubel, Dec 28 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 05 2011
STATUS
approved