OFFSET
1,1
LINKS
FORMULA
a(n) = 2*A003151(n) = 2*(n + floor(n*sqrt(2))).
MATHEMATICA
Table[2 n + 2 Floor[n*Sqrt[2]], {n, 1, 200}]
PROG
(PARI) vector(100, n, 2*(n+floor(n*sqrt(2)))) \\ G. C. Greubel, Sep 08 2018
(Magma) [2*(n + Floor(n*Sqrt(2))): n in [1..100]]; // G. C. Greubel, Sep 08 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved