OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Steve Butler and Jia Mao, Problem 11265, Amer. Math. Monthly 114, (2007), p77.
MATHEMATICA
Table[n + Floor[Sqrt[2 n - 1]], {n, 100}] (* Vincenzo Librandi, Feb 18 2017 *)
PROG
(Magma) [n+Floor(Sqrt(2*n-1)): n in [1..80]]; // Vincenzo Librandi, Feb 18 2017
(PARI) a(n) = n + sqrtint(2*n-1); \\ Michel Marcus, Feb 18 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jan 05 2011
STATUS
approved