Solving an equation involving rearrangements of a 3 digit number. Bob has S amount of money where 100 <= S <= 999 i.e it is a three-digit number. Bob spends some amount for buying lunch which is a rearrangement of the digits of S. Also, the leftover money he has is also a rearrangement of the digits of S. What is the value of S?

Mutignaniz2

Mutignaniz2

Answered question

2022-09-05

Solving an equation involving rearrangements of a 3 digit number
Bob has S amount of money where 100 S 999 i.e it is a three-digit number. Bob spends some amount for buying lunch which is a rearrangement of the digits of S. Also, the leftover money he has is also a rearrangement of the digits of S. What is the value of S?

Answer & Explanation

Adolfo Lee

Adolfo Lee

Beginner2022-09-06Added 17 answers

Step 1
I tried to do this by reasoning and trial and error. If the number is 100 x + 10 y + z, let the number subtracted be 100 y + 10 z + x.
Case 1: if the resulting term is 100 x + 10 z + y, then y = 0, 100-th place will be x 1, 10-th place is 10 z, unit place is z x, and one of them mujst be 0, clearly 10-th place cannot be, so take subcases:
Subcase 1: x = 1. This is not possible as one of the digits in the answer must be 1, and clearly, that will be a unit digit. Then we get z = 2. The 10-th digit then gives the value 8, but you cannot satisfy the given condition.
Step 2
Subcase 2: z = x. In the process of satisfying the given condition, we will notice that 100-th digit is not positive. This is also not possible.
Similarly proceed for other cases.
Now, let the subtracted number be 100 x + 10 z + y.
100-th digit (in the answer) is 0 (so we keep in mind one of the digits must be 0, clearly not x). Note that y 0 since otherwise 10-th digit in teh answer will be -z, not possible (also both y and z cannot be 0 together).
So, take z = 0, then in the final answer, 10-th digit = y 1 and unit digit = 10 y. Suppose y 1 = x and 10 y = y (from the given condition), then we have x = 4 and y = 5. Thus the initial number is 450, 405 got subtracted to give you 045.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?