Start with some positive integer. The following operation is performed on the number: its unit digit is split off and multiplied by , then this product is added to the remaining number. (For example, is changed to .) The operation is performed again and again. Prove that if the sequence of numbers obtained contains , then none of the numbers in the sequence can be a prime number.
Solution
If the current number is where , then the next number is . Note that
Therefore, if and only if . Since , all the numbers in the sequence are divisible by . The only possible prime number in this sequence is .
Now, since , will never appear after . However, since , it cannot appear before as well. Thus, there is no prime in the sequence.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.