is it correct for 35197? Im getting 5001 instead of inf.
I also get 5001.
10016 and 10081 have another valid answer: 1251 (besides 626). The problem should accept them or request the minimum exponent.
3098 Solvers
230 Solvers
Back to basics 9 - Indexed References
396 Solvers
80 Solvers
Create a vector whose elements depend on the previous element
397 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!