1.Take a random positive integer, divisible by three.
2.Consider its base 10 digits.
3.Take the sum of their cubes.
4.Go back to step 2.
Rem: You may limit your research for n<1000.
|See The Solution||Submitted by Ady TZIDON|
|re: non-analytic solution||
don't know enough about ruby to determine where you went wrong with your code. However, consider 25
|Posted by Daniel on 2015-09-18 00:52:10|