OFFSET
1,1
COMMENTS
Complement of A002061. - Kieren MacMillan, Dec 16 2007
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[Ceiling[n + n^(1/2)], {n, 100}] (* Vincenzo Librandi, Feb 16 2013 *)
PROG
(Magma) [Ceiling(n + n^(1/2)): n in [1..100]]; // Vincenzo Librandi, Feb 16 2013
(Python)
from sympy import integer_nthroot
def A135668(n): return n+(a:=integer_nthroot(n, 2))[0]+(not a[1]) # Chai Wah Wu, Aug 26 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Nov 25 2007
STATUS
approved