OFFSET
0,2
COMMENTS
FORMULA
a(n) = floor(n*x/(x-1)) + 1, n>=0, where x=1+sqrt(2).
a(n) = floor(n/sqrt(2)) + n + 1.
MATHEMATICA
f[n_] := Floor[n/Sqrt@2 + n + 1]; Array[f, 68, 0]
PROG
(Magma) z:=70; x:=1+Sqrt(2); [ Floor(n*x/(x-1))+1: n in [0..z] ]; - Klaus Brockhaus, Jan 04 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Apr 21 2003
EXTENSIONS
This entry formerly contained an erroneous comment, which was deleted by N. J. A. Sloane, Jan 30 2008
STATUS
approved