OFFSET
0,2
FORMULA
a(n) = n + A038759(n). - Robert G. Wilson v, Apr 17 2010
a(n^2) = 2*n^2. - Bernard Schott, Jul 30 2022
MATHEMATICA
f[n_]:=n+Floor[Sqrt[n]]*Ceiling[Sqrt[n]]; Table[f[n], {n, 0, 5!}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 29 2010
STATUS
approved