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.
3099 Solvers
Find the numeric mean of the prime numbers in a matrix.
6827 Solvers
Find state names that end with the letter A
717 Solvers
Set the array elements whose value is 13 to 0
958 Solvers
Spot the First Occurrence of 5
368 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!