The sum of the digits of a two digit number is 4. If 18 is added to the original number,
its digits are reversed. Find the original number.
Answers
Answer:
13
Step-by-step explanation:
let the two digit number be 10x + y
x + y = 4. -------(1)
18 + 10x + y = 10y + x
x - y = -2 ---------(2)
adding eq (1) & (2) we get
x = 1
then y = 3
10a+b = 4(a+b)
10a+b+18=10b+a
Let’s simplify the first equation:
10a+b = 4(a+b)
10a+b = 4a+4b
6a = 3b
2a = b
Now, we know the possible values of a and b:
[a=1, b=2], [a=2, b=4], [a=3, b=6], [a=4, b=8]
Now, we can use trial and error with the second equation, by substituting in the possible values of a and b:
[a=1, b=2]: 12 + 18 ≠ 21
[a=2, b=4]: 24 + 18 = 42
Above is a number which fulfills the requirements, 24. However, we must check to be sure that there are no other possible solutions.
[a=3, b=6]: 36 + 18 ≠ 63
[a=4, b=8]: 48 + 18 ≠ 84
The above values of a and b do not fulfill the requirements.
The number is of form 10a+b where a=2 and b=4, so the number is 24