2012 AMC 12B Problems/Problem 24
Problem 24
Define the function on the positive integers by setting
and if
is the prime factorization of
, then
For every
, let
. For how many
in the range
is the sequence
unbounded?
Note: A sequence of positive numbers is unbounded if for every integer , there is a member of the sequence greater than
.
Solution
First of all, notice that for any odd prime , the largest prime that divides
is no larger than
, therefore eventually the factorization of
does not contain any prime larger than
. Also, note that
, when
it stays the same but when
it grows indefinitely. Therefore any number
that is divisible by
or any number
such that
is divisible by
makes the sequence
unbounded. There are
multiples of
within
. Now let's look at the other cases.
Any first power of prime in a prime factorization will not contribute the unboundedness because . At least a square of prime is to contribute. So we test primes that are less than
:
works, therefore any number
that are divisible by
works: there are
of them.
could also work if
is odd, but
already.
does not work.
works. There are no other multiples of
within
.
could also work if
is odd, but
already.
does not work.
When prime , any odd multiple
other than itself is greater than
, and that
could be a multiple of
only if
, which is already beyond what we need to test.
In conclusion, there are number of
's ...
.