Difference between revisions of "1968 IMO Problems/Problem 2"
(→Solution) |
|||
Line 3: | Line 3: | ||
Find all natural numbers <math>x</math> such that the product of their digits (in decimal notation) is equal to <math>x^2 - 10x - 22</math>. | Find all natural numbers <math>x</math> such that the product of their digits (in decimal notation) is equal to <math>x^2 - 10x - 22</math>. | ||
− | ==Solution== | + | ==Solution 1== |
Let the decimal expansion of <math>x</math> be <math>\overline{d_1d_2d_3\dots d_n}</math>, where <math>d_i</math> are base-10 digits. We then have that <math>x\geq d_1\cdot 10^{n-1}</math>. However, the product of the digits of <math>x</math> is <math>d_1d_2d_3\dots d_n\leq d_1\cdot 10\cdot 10\dots 10=d_1\cdot 10^{n-1}</math>, with equality only when <math>x</math> is a one-digit integer. Therefore the product of the digits of <math>x</math> is always at most <math>x</math>, with equality only when <math>x</math> is a base-10 digit. This implies that <math>x^2-10x-22\leq x</math>, so <math>x^2-11x-22\leq 0</math>. Every natural number from 1 to 12 satisfies this inequality, so we only need to check these possibilities. It is easy to rule out 1 through 11, since <math>x^2-10x-22<0</math> for those values. However, <math>12^2-10\cdot 12-22=2</math>, which is the product of the digits of 12. Therefore <math>\boxed{12}</math> is the only natural number with the desired properties. <math>\blacksquare</math> | Let the decimal expansion of <math>x</math> be <math>\overline{d_1d_2d_3\dots d_n}</math>, where <math>d_i</math> are base-10 digits. We then have that <math>x\geq d_1\cdot 10^{n-1}</math>. However, the product of the digits of <math>x</math> is <math>d_1d_2d_3\dots d_n\leq d_1\cdot 10\cdot 10\dots 10=d_1\cdot 10^{n-1}</math>, with equality only when <math>x</math> is a one-digit integer. Therefore the product of the digits of <math>x</math> is always at most <math>x</math>, with equality only when <math>x</math> is a base-10 digit. This implies that <math>x^2-10x-22\leq x</math>, so <math>x^2-11x-22\leq 0</math>. Every natural number from 1 to 12 satisfies this inequality, so we only need to check these possibilities. It is easy to rule out 1 through 11, since <math>x^2-10x-22<0</math> for those values. However, <math>12^2-10\cdot 12-22=2</math>, which is the product of the digits of 12. Therefore <math>\boxed{12}</math> is the only natural number with the desired properties. <math>\blacksquare</math> | ||
+ | ==Solution 2== | ||
+ | |||
+ | |||
+ | Let, | ||
+ | <math>x^2-10x-22=y</math> | ||
+ | |||
+ | <math>\implies x^2-10+25-47=y</math> | ||
+ | |||
+ | <math>\implies (x-5)^2=47+y</math> | ||
+ | |||
+ | Now note that, if <math>p</math> is a prime such that <math>p|y</math> then <math>7\geq p</math>. | ||
+ | |||
+ | That means, <math>y=2^a*3^b*5^c*7^d</math> | ||
+ | |||
+ | But, <math>a^2 \not\equiv 2 (mod3), a^2 \not\equiv 2 (mod5), a^2 \not\equiv 5 (mod7)</math> which means <math>3,5,7</math> don't divivde <math>(x-5)^2-47=y.</math> | ||
+ | |||
+ | So, <math>y=2^a</math> and <math>y+17=2^a+47=(x-5)^2</math> | ||
+ | |||
+ | It is easy to see that <math>a</math> has one solution and that is <math>2.</math>( Prove it by contradiction) | ||
+ | |||
+ | So, <math>(x-5)^2=47+2=49</math> | ||
+ | |||
+ | <math>\implies x=12</math> | ||
+ | |||
+ | <cmath> A.W.D</cmath> | ||
==See Also== | ==See Also== |
Revision as of 03:30, 26 April 2021
Contents
Problem
Find all natural numbers such that the product of their digits (in decimal notation) is equal to .
Solution 1
Let the decimal expansion of be , where are base-10 digits. We then have that . However, the product of the digits of is , with equality only when is a one-digit integer. Therefore the product of the digits of is always at most , with equality only when is a base-10 digit. This implies that , so . Every natural number from 1 to 12 satisfies this inequality, so we only need to check these possibilities. It is easy to rule out 1 through 11, since for those values. However, , which is the product of the digits of 12. Therefore is the only natural number with the desired properties.
Solution 2
Let,
Now note that, if is a prime such that then .
That means,
But, which means don't divivde
So, and
It is easy to see that has one solution and that is ( Prove it by contradiction)
So,
See Also
1968 IMO (Problems) • Resources | ||
Preceded by Problem 1 |
1 • 2 • 3 • 4 • 5 • 6 | Followed by Problem 3 |
All IMO Problems and Solutions |