Chris, please check test 21. The factors of 1535238 include two 67's, therefore it seems to me the solution should be 134.
David: Take another look. ChrisR's anti-lookup trick lets correct solutions pass the test!
David, you are correct for Kempner(1535238), but that test asks for Kempner(Kempner(Kempner(1535238))).
Which values occur exactly three times?
Vectorize the digits of an Integer
Television Screen Dimensions
Pseudo Square Root (Inspired by Project Euler 266)
Round up to π
Compute the perimeter of an ellipse
Eliminate redundant numbers in text
Identify Ruth-Aaron numbers
Find terms in the Connell sequence
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office