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
Renaming a field in a structure array
737 Solvers
Sum all integers from 1 to 2^n
8662 Solvers
98 Solvers
With apologies to William Blake
34 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!