OFFSET
1,1
COMMENTS
Also n + floor(sqrt(5*n/2 + 1/2)) since 5*n/2 + 1/2 is never a square. - Charles R Greathouse IV, Feb 11 2011
MATHEMATICA
a=5/2; b=1/2;
Table[n+Floor[(a*n+b)^(1/2)], {n, 80}]
Table[n-1+Ceiling[(n*n-b)/a], {n, 70}]
PROG
(PARI) a(n)=n+sqrtint(5*n/2)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jan 07 2011
STATUS
approved