OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(n*r+h), where r=sqrt(2), h=1/4.
MATHEMATICA
PROG
(PARI) vector(120, n, floor(n*sqrt(2) + 1/4)) \\ G. C. Greubel, Aug 18 2018
(Magma) [Floor(n*Sqrt(2) + 1/4): n in [1..120]]; // G. C. Greubel, Aug 18 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 18 2011
STATUS
approved