OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
FORMULA
MATHEMATICA
Table[5*n - Floor[2*n*sqrt(2)], {n, 0, 50}] (* G. C. Greubel, Oct 31 2017 *)
PROG
(Magma) [5*n-Floor(2*n*(Sqrt(2))): n in [0..70]]; // Vincenzo Librandi, Sep 12 2011
(PARI) a(n) = 5*n - floor(2*n*sqrt(2)) \\ G. C. Greubel, Oct 31 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 10 2011
STATUS
approved