Difference between revisions of "2012 AMC 12B Problems/Problem 24"
(→Solution 2) |
|||
(23 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
Define the function <math>f_1</math> on the positive integers by setting <math>f_1(1)=1</math> and if <math>n=p_1^{e_1}p_2^{e_2}\cdots p_k^{e_k}</math> is the prime factorization of <math>n>1</math>, then <cmath>f_1(n)=(p_1+1)^{e_1-1}(p_2+1)^{e_2-1}\cdots (p_k+1)^{e_k-1}.</cmath> | Define the function <math>f_1</math> on the positive integers by setting <math>f_1(1)=1</math> and if <math>n=p_1^{e_1}p_2^{e_2}\cdots p_k^{e_k}</math> is the prime factorization of <math>n>1</math>, then <cmath>f_1(n)=(p_1+1)^{e_1-1}(p_2+1)^{e_2-1}\cdots (p_k+1)^{e_k-1}.</cmath> | ||
− | For every <math>m\ge 2</math>, let <math>f_m(n)=f_1(f_{m-1}(n))</math>. For how many <math>N</math> in the range <math>1\le N\le 400</math> is the sequence <math>(f_1(N),f_2(N),f_3(N),\dots )</math> unbounded? | + | For every <math>m\ge 2</math>, let <math>f_m(n)=f_1(f_{m-1}(n))</math>. For how many <math>N</math>s in the range <math>1\le N\le 400</math> is the sequence <math>(f_1(N),f_2(N),f_3(N),\dots )</math> unbounded? |
'''Note:''' A sequence of positive numbers is unbounded if for every integer <math>B</math>, there is a member of the sequence greater than <math>B</math>. | '''Note:''' A sequence of positive numbers is unbounded if for every integer <math>B</math>, there is a member of the sequence greater than <math>B</math>. | ||
Line 8: | Line 8: | ||
<math>\textbf{(A)}\ 15\qquad\textbf{(B)}\ 16\qquad\textbf{(C)}\ 17\qquad\textbf{(D)}\ 18\qquad\textbf{(E)}\ 19 </math> | <math>\textbf{(A)}\ 15\qquad\textbf{(B)}\ 16\qquad\textbf{(C)}\ 17\qquad\textbf{(D)}\ 18\qquad\textbf{(E)}\ 19 </math> | ||
− | == Solution == | + | == Solution 1== |
First of all, notice that for any odd prime <math>p</math>, the largest prime that divides <math>p+1</math> is no larger than <math>\frac{p+1}{2}</math>, therefore eventually the factorization of <math>f_k(N)</math> does not contain any prime larger than <math>3</math>. Also, note that <math>f_2(2^m) = f_1(3^{m-1})=2^{2m-4}</math>, when <math>m=4</math> it stays the same but when <math>m\geq 5</math> it grows indefinitely. Therefore any number <math>N</math> that is divisible by <math>2^5</math> or any number <math>N</math> such that <math>f_k(N)</math> is divisible by <math>2^5</math> makes the sequence <math>(f_1(N),f_2(N),f_3(N),\dots )</math> unbounded. There are <math>12</math> multiples of <math>2^5</math> within <math>400</math>. <math>2^4 5^2=400</math> also works: <math>f_2(2^4 5^2) = f_1(3^4 \cdot 2) = 2^6</math>. | First of all, notice that for any odd prime <math>p</math>, the largest prime that divides <math>p+1</math> is no larger than <math>\frac{p+1}{2}</math>, therefore eventually the factorization of <math>f_k(N)</math> does not contain any prime larger than <math>3</math>. Also, note that <math>f_2(2^m) = f_1(3^{m-1})=2^{2m-4}</math>, when <math>m=4</math> it stays the same but when <math>m\geq 5</math> it grows indefinitely. Therefore any number <math>N</math> that is divisible by <math>2^5</math> or any number <math>N</math> such that <math>f_k(N)</math> is divisible by <math>2^5</math> makes the sequence <math>(f_1(N),f_2(N),f_3(N),\dots )</math> unbounded. There are <math>12</math> multiples of <math>2^5</math> within <math>400</math>. <math>2^4 5^2=400</math> also works: <math>f_2(2^4 5^2) = f_1(3^4 \cdot 2) = 2^6</math>. | ||
Line 27: | Line 27: | ||
In conclusion, there are <math>12+1+4+1=18</math> number of <math>N</math>'s ... <math>\framebox{D}</math>. | In conclusion, there are <math>12+1+4+1=18</math> number of <math>N</math>'s ... <math>\framebox{D}</math>. | ||
+ | |||
+ | == Solution 2== | ||
+ | Say a number <math>n</math> is <math>\textit{boring}</math> if the sequence <math>\{f_k(n)\}</math> is bounded; otherwise <math>n</math> is <math>\textit{interesting}</math>. | ||
+ | |||
+ | It is clear that <math>n</math> is interesting iff <math>f_1(n)</math> is. For a prime, <math>p</math>, <math>f_1(p)=1</math>. Thus, for a prime, <math>p_k</math>, in the prime factorization of <math>n</math>; if <math>e_k=1</math> then <math>f_1(n)=f_1(n/p_k)</math>, so <math>n</math> is interesting iff <math>n/p_k</math> is. Continuing in this manner, we can divide <math>n</math> by all such primes <math>p_k</math> for which <math>e_k=1</math>; and <math>n</math> is interesting iff each of these resulting numbers are. Finally we will end up with a number whose prime factorization contains only exponents <math>\ge 2</math>. Let <math>S</math> be the set of such numbers. It suffices to find all interesting numbers in <math>S</math>; all other interesting numbers will be multiples of these. Note that <math>f_1(n)\mid f_1(kn)</math> for all <math>k\in\mathbb{N}</math>; so by induction a multiple of an interesting number is also interesting. | ||
+ | |||
+ | The set <math>S</math> contains either powers of primes <math>\le 19</math>, or a product of two such powers. | ||
+ | |||
+ | We have <math>f_2(2^a)=f_1(3^{a-1}) = 2^{2(a-2)}</math>; since <math>2(a-2)> a</math> iff <math>a\ge 5</math>, so <math>2^5</math> and its multiples are interesting; there are <math>12</math> such. | ||
+ | |||
+ | We have <math>f_2(3^b)=f_1(2^{2(b-1)}) = 3^{2b-3}</math>; since <math>2b-3> b</math> iff <math>b\ge 4</math>, so <math>3^4</math> and its multiples are interesting; there are <math>4</math> such. | ||
+ | |||
+ | Among the remaining prime powers only <math>7^3 \textbf{ is interesting}</math> but it has no other multiples in <math>[400]</math>. | ||
+ | |||
+ | We are now left with numbers <math>n\in S</math> that are products of two prime powers, i.e <math>n=p^aq^b</math>, <math>a,b \ge 2</math>. | ||
+ | |||
+ | We have <math>f_2(2^a3^b)= 2^{2(a-2)}3^{2b-3}</math>, so a number of this form is interesting iff <math>a\ge 5</math> or <math>b\ge 4</math>; they are already counted above. | ||
+ | |||
+ | If <math>5^2\mid n</math> then <math>n=2^2\cdot 5^2</math> or <math>2^3\cdot 5^2</math> or <math>3^2\cdot 5^2</math> (all boring) or <math>n=2^4\cdot 5^2=400</math>, <math>\textbf{which is interesting}</math>, but has no other multiples. | ||
+ | |||
+ | If <math>7^2\mid n</math> then <math>n</math> is <math>2^2\cdot 7^2</math> or <math>2^3\cdot 7^2</math> and both are boring. | ||
+ | |||
+ | No larger prime can divide <math>n</math> because even <math>11^2\cdot 2^2 > 400</math>. | ||
+ | |||
+ | We have found all the interesting numbers: <math>12</math> multiples of <math>2^5</math>, <math>4</math> multiples of <math>3^4</math>, <math>2^4\cdot 5^2</math>, and <math>7^3</math> for a total of <math>12+4+1+1= 18</math> ... <math>\framebox{D}</math>. | ||
==Video Solution by Richard Rusczyk== | ==Video Solution by Richard Rusczyk== |
Latest revision as of 09:06, 5 November 2021
Problem
Define the function on the positive integers by setting and if is the prime factorization of , then For every , let . For how many s 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 1
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 . also works: .
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 satisfies , but .
does not work.
works. There are no other multiples of within .
could also work if , but already.
For number that are only divisible by , they don't work because none of these primes are such that could be a multiple of nor a multiple of .
In conclusion, there are number of 's ... .
Solution 2
Say a number is if the sequence is bounded; otherwise is .
It is clear that is interesting iff is. For a prime, , . Thus, for a prime, , in the prime factorization of ; if then , so is interesting iff is. Continuing in this manner, we can divide by all such primes for which ; and is interesting iff each of these resulting numbers are. Finally we will end up with a number whose prime factorization contains only exponents . Let be the set of such numbers. It suffices to find all interesting numbers in ; all other interesting numbers will be multiples of these. Note that for all ; so by induction a multiple of an interesting number is also interesting.
The set contains either powers of primes , or a product of two such powers.
We have ; since iff , so and its multiples are interesting; there are such.
We have ; since iff , so and its multiples are interesting; there are such.
Among the remaining prime powers only but it has no other multiples in .
We are now left with numbers that are products of two prime powers, i.e , .
We have , so a number of this form is interesting iff or ; they are already counted above.
If then or or (all boring) or , , but has no other multiples.
If then is or and both are boring.
No larger prime can divide because even .
We have found all the interesting numbers: multiples of , multiples of , , and for a total of ... .
Video Solution by Richard Rusczyk
https://artofproblemsolving.com/videos/amc/2012amc12b/276
~dolphin7
See Also
2012 AMC 12B (Problems • Answer Key • Resources) | |
Preceded by Problem 23 |
Followed by Problem 25 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.