OFFSET
1,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(n*r) - floor(n*r - r), where r = sqrt(2) + sqrt(3), n >= 1.
MATHEMATICA
PROG
(PARI) vector(100, n, floor(n*(sqrt(2) + sqrt(3))) - floor((n-1)*(sqrt(2)+sqrt(3)))) \\ G. C. Greubel, Aug 16 2018
(Magma) [Floor(n*(Sqrt(2) + Sqrt(3))) - Floor((n-1)*(Sqrt(2) + Sqrt(3))): n in [1..100]]; // G. C. Greubel, Aug 16 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 26 2016
STATUS
approved