Source: Question 11 of this problem set. I'd like to point out that I'm not cheating on any contest by posting this problem (e.g. the OTIS). It was released in the past to help students prepare for the Putnam competition.
Let $a_1 = 1, a_{n+1} = a_n + \lfloor \sqrt{a_n}\rfloor$ for $n\ge 1$. Find, with proof, the smallest $n$ such that $a_n > 2019$?
My first instinct is to try to guess a formula for $a_n$ that can hopefully be easily proven via induction. Alternatively one may be able to prove some useful properties about the sequence using induction. We have $\lfloor \sqrt{a_n}\rfloor = k\Leftrightarrow k^2 \leq a_n \leq k^2 + 2k.$ Computing the first few terms of the sequence gives $1,2,3,4,6,8,10,13,16,20,24,28,33,38.$ But there doesn't seem to be any noticeable pattern that can lead to a general formula. However, observing the perfect squares in the sequence, we see that the only two seen so far are $4$ and $16$. It might not just be a coincidence that these are both powers of 4 (1). Then it might be useful to consider the number of times $\lfloor \sqrt{a_n}\rfloor$ occurs. The sequence $\lfloor \sqrt{a_n}\rfloor$ is as follows: $1,1,1,2,2,2,3,3,4,4,4,5,5,6$. Again, it may not be a coincidence that the values that occur $3$ times in this small sample are powers of 2 while all other values occur exactly twice (2). Assume that hypotheses (1) and (2) hold for all $n\leq k, k\ge 14$. We want to show they still hold for $k+1$. Let $4^q \leq k+1 < 4^{q+1}.$ We have for $n\ge 2$ that $a_n = 1 + \sum_{i=1}^{n-1} \lfloor \sqrt{a_n}\rfloor.$ I'm not sure how to prove the inductive step from here.
Variation of the proof from AoPS. (we use the fact that the only squares are the powers of $4$ as given there).
Between any two squares $k^2$ and $(k+1)^2$, there are exactly two elements. Note $44^2 = 1936$ and $45^2 = 2025$.
If we count the gap between $1^2$ and $2^2$ as $1$, we have $44$ such gaps accounting for $88$ elements.
Then we include $1,4,16,64,256,1024$ or $6$ elements. So the largest element less than $2025$ is $a_{94}$.
The first element after $32^2$ has a gap of $32$ and this gap between each successive square and the first element following that goes down by $1$ until we hit $4096$. So the first element after $44^2$ will be $32-12$ away or $= 1936 + 20 = 1956$. The next one will be at $1956 + 44 = 2000$.
So $a_{95} > 2019.$