Series ChallengeFebruary 1 2013 at 10:05 AM
|lawgin (no login)|
This challenge tests your ability to work with big integers.
You start an integer series with some integer N. The sum of the individual digits of N is S. If N is evenly divisible by S, then N/S is the next number in the series. If not evenly divisible, the next number in the series is N*S. Continue this process until the series begins an endless repetition.
972 has a length of only 4
11 has a length of 7
What positive integer less than 500 produces the longest series?
or a much tougher challenge,
What positive integer less than 1000 produces the longest series?