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