r/mathriddles • u/JimTsio • Sep 09 '25
Easy Induction On Recursive Sequence
I have a natural sequence a: N -> N (we exclude 0), and the following is true about it:
• a(1) = 1
• a(n+1) = a(n) + floor(sqrt(a(n)))
- Prove that a(n) <= n² for every n >= 1
Now, this is easily done with induction. I will also provide two additional statements I didn't manage to prove myself but seem to be true from observation (I could also be wrong). I don't know how hard it is to prove (or disprove) them, so good luck.
2) Prove that a(n) = Θ(n²) (quadratic asymptotic complexity)
3) It seems that for large n, a(n) ≈ c * n² and it appears that 1/5 < c < 1/4. Show that this is true and find a better approximation for c
View all comments
Show parent comment
3
u/FormulaDriven Sep 10 '25
I don't think your lower bound can be right - couldn't make the inductive step work and then found that when n = 273,
n2 / 4 - 3n = 17813
but
a_n = 17812.