× A E B D C C D B E 9 A
What is the only five digit number that when multiplied by 9 is its digits reversed?
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.
When you denote numbers by letters as in Algebra, you don't have two letters denoting the same number. In this case C & E are both shown to be 9. Thus the very question is faulty. Or else letters C & E are no more distinct.
Log in to reply
I don't understand. Can you elaborate?
Log in to reply
He seems to say you say that C and E are different numbers and because you state that they are different they shouldn't be both equal with 9. Yet note Ashok Aggarwal that in Pi Han Goh's solution it is stated what rules the notation respects , and there it says at the beginning that those letters represent not necessarily different numbers meaning therefore that they can after all all of them and not just those have the same value.
Relevant wiki: Cryptogram - Problem Solving
Cryptarithms
Let number be ABCDE
ABCDE*9=EDCBA
A must be 1 for ABCDE to be 5 digit and so that there will be no carry over (EDCBA will remain 5 digit) Consequently E must be 9 B can be either 0 or 1 since multiplying by 9 should not give a carry over for the thousandths place, (E already 9)
Case 1: B=0 Solving for D, 9*D+8 (carry over)=0 D can only be 8
Solving for C, 9*C+8 (carry over)=C C can only be 9
Rechecking, 10989*9=98901
A similar process can be done for Case 2: B=1, but we will get no solutions.
Therefore, answer is 10989
Smallest 5 digit number is 1 0 0 0 0 which when multiplied by 9 is 9 0 0 0 0
largest 5 digit number that remains a 5 digit when multiplied by 9 is 1 1 1 1 1
obviously A = 1 and E = 9 . and since E = 9 one of B , C , D has to be zero as 1 0 0 0 0 < A B C D E < 1 1 1 1 1
now, A B C D E ⟹ 1 0 0 0 0 A + 1 0 0 0 B + 1 0 0 C + 1 0 D + E ( A , B , C , D , E all single digit integer) and E D C B A = 1 0 0 0 0 E + 1 0 0 0 D + 1 0 0 C + 1 0 B + A
9 × A B C D E = 9 0 0 0 0 A + 9 0 0 0 B + 9 0 0 C + 9 0 D + 9 E = 1 0 0 0 0 E + 1 0 0 0 D + 1 0 0 C + 1 0 B + A with A = 1 and E = 9 .
Putting values
⟹ 8 0 + 8 9 9 0 B + 8 0 0 C − 9 1 0 D = 0 . with all B , C , D positive, single digit natural number with at least one of them 0 .
obviously D cannot be zero. (RHS of the above equation is zero and LHS would have all positive quantities)
Assuming B = 0 ⟹ 8 0 + 8 0 0 C = 9 1 0 D which gives C = 9 and D = 8 as integral solution.
if we assume C = 0 , no integral solution can be found. so the number is 1 0 9 8 9 .
Thank you for sharing your approach, Ras. You have presented your method of solving this problem very systematically. I upvoted your solution (+1)
I have also edited the Latex in your solution so it is easier to read and understand.
// I wrote a C++ program for this:
using namespace std;
int main() {
for(int x = 10000; x<=99999; x++){
int r = x;
int y = 0;
while(r != 0){
y = y*10 + r%10;
r = r/10;
}
if(x*9 == y){
cout<<x<<endl;
}
}
return 0;
}
//Answer is 10989
Dammit ! The idiot that wrote this problem did not specify that numbers could be repeated. But this is a quote from the instructions page :
""""For simplicity and consistency, we will assume the following: 1--Each symbol represents a distinct single non-negative digit. """"
Not specifying this caused unnecessary waste of time !!!
After equating ABCDE*9=EDCBA, for both numbers to have same number of digits we get A as 1 and E as 9. Express each digit as their place values, we get 8990B + 800C +80= 910D since 0<=B,D,C<=9 it is possible for B= 0 This implies, 800C + 80= 910D thus we see a clear solution for C=9 and D=8
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Cryptogram - Problem Solving
Let this 5-digit number be denoted by A B C D E as shown in the question, where A , B , C , D and E are not necessarily distinct single digits.
Because A B C D E × 9 = A B C D E × ( 1 0 − 1 ) = A B C D E 0 − A B C D E , then the cryptogram is equivalent to the following:
− A B A E C B D D C C E D B 0 E A ⇔ + A A E B B D C C C D D B E E A 0
Since the cryptogram shows the sum of 2 5-digit integers to produce a 6-digit integer, then the carry over in the leftmost column (as highlighted in blue) is exactly 1. In other words, A = 1 .
Then, looking at the rightmost column (as highlighted in red) tells us that E + A ≡ 0 ( m o d 1 0 ) , because we already know that A = 1 , then E = 9 only. Thus the cryptogram simplifies to
+ 1 1 9 B B D C C C D D B 9 9 1 0
Since A B C D E × 9 is still a 5-digit integer, then A B C D E < 9 1 0 5 = 1 1 1 1 1 9 1 . Because we already know that A = 1 , then B is forced to be either 0 or 1 only.
Suppose B = 0 , then looking at the second rightmost column gives B + D + 1 ≡ 9 ( m o d 1 0 ) ⇒ D = 8 . Thus the cryptogram simplifies to
+ 1 1 9 0 0 D C C C D D 0 9 9 1 0 ⇒ + 1 1 9 0 0 8 C C C 8 8 0 9 9 1 0
To finish it off, by looking at the third rightmost column, we have 2 C ≡ 8 ( m o d 1 0 ) ⇒ C = 4 , 9 . Trial and error shows that C = 9 only.
Thus, ( A , B , C , D , E ) = ( 1 , 0 , 9 , 8 , 9 ) .
Now suppose B = 1 , then looking at the second rightmost column gives B + D + 1 ≡ 9 ( m o d 1 0 ) ⇒ 7 . Thus the cryptogram simplifies to
+ 1 1 9 1 1 7 C C C 7 7 1 9 9 1 0
However, looking at the third rightmost column tells us that 2 C ≡ 7 ( m o d 1 0 ) ⇒ 2 C = 7 , 1 7 . But this is impossible because 2 C has to be an even number. So B = 1 cannot be a solution.
Hence, it is true that there is only one 5-digit integer that satisfies this condition, namely 1 0 9 8 9 .