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.
Find the two most distant points
1670 Solvers
988 Solvers
Project Euler: Problem 9, Pythagorean numbers
305 Solvers
Remove the two elements next to NaN value
423 Solvers
Split a string into chunks of specified length
519 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!