For all positive integers x, let f(x) = 1 if x = 1, f(x) =x/10 if x is divisible by 10, f(x) = x + 1 otherwise, and define a sequence of integers as follows: x 1 = a and x {n+1} = f(x n) for all positive integers n. Let d(a) be the smallest n such that x n = 1. (For example, d(100) = 3 and d(87) = 7.) Let m be the number of positive integers b such that d(b) = 20. Find the sum of the distinct prime factors of m. Source: AOPS
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!