N+floor(√N+1/2)
*** Adapted from a problem appearing in the IMO longlist.
blackjack
flooble's webmaster puzzle