Difference between revisions of "2007 iTest Problems/Problem 14"
Flyhawkeye (talk | contribs) |
m (→Solution) |
||
Line 19: | Line 19: | ||
== Solution == | == Solution == | ||
+ | If <math>n=p_1^{k_1}\cdots p_s^{k_s}</math> then <math>\phi(n)=p_1^{k_1-1}\cdots p_s^{k_s-1}\cdot (p_1-1)\cdots | ||
+ | (p_s-1)</math>. Hence every prime factor of <math>n</math> is contained in <math>\{2,3,5,7,13\}</math>. Let <math>p</math> be the | ||
+ | largest prime dividing <math>n</math>. If <math>p=13</math> then <math>n=13,26</math>. If <math>p=7</math> then <math>n=7k</math> with <math>7\not |k, | ||
+ | \phi(k)=2</math> giving solutions <math>n=21,28,42</math>. If <math>p=5</math> then <math>n=5k</math> with <math>5\not |k,\phi(k)=3</math>, | ||
+ | no solutions since <math>\phi(k)</math> is always even unless it is 1. Otherwise <math>n=2^a\cdot 3^b</math> where | ||
+ | <math>a,b\ge 1</math> and <math>\phi(n)=2^a\cdot 3^{b-1}</math>. Hence <math>a=2,b=2,n=36</math>. Therefore all solutions | ||
+ | are given by <math>n=13,26,21,28,42,36</math> and the answer is G. | ||
− | + | ~Solution by [https://artofproblemsolving.com/community/user/209000| Alexheinis] but not posted on the wiki by Alexhienis | |
==See Also== | ==See Also== |
Latest revision as of 20:23, 4 February 2023
Problem
Let be the number of positive integers which are relatively prime to . For how many distinct values of is ?
Solution
If then . Hence every prime factor of is contained in . Let be the largest prime dividing . If then . If then with giving solutions . If then with , no solutions since is always even unless it is 1. Otherwise where and . Hence . Therefore all solutions are given by and the answer is G.
~Solution by Alexheinis but not posted on the wiki by Alexhienis
See Also
2007 iTest (Problems, Answer Key) | ||
Preceded by: Problem 13 |
Followed by: Problem 15 | |
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 • 26 • 27 • 28 • 29 • 30 • 31 • 32 • 33 • 34 • 35 • 36 • 37 • 38 • 39 • 40 • 41 • 42 • 43 • 44 • 45 • 46 • 47 • 48 • 49 • 50 • 51 • 52 • 53 • 54 • 55 • 56 • 57 • 58 • 59 • 60 • TB1 • TB2 • TB3 • TB4 |