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))).
Make the vector [1 2 3 4 5 6 7 8 9 10]
How to add?
Swap two numbers
Side of a rhombus
Height of a right-angled triangle
Find terms in the Connell sequence
Count unique orderings of vertices of a polygon
Label primes with the Erdos-Selfridge classification
Compute the nth Naerogahtyp emirp
Determine whether a square can be drawn on a grid of dots
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