Arithmetic · real student question

A three-digit number has all three digits different. Reversing its digits gives a second number, and subtracting that from the original gives 396. Find the smallest such number.

Question

A three-digit number has all of its digits different. Writing its digits in reverse order gives a second number, and subtracting the second from the first gives 396396.

Find the smallest number with this property.

Step-by-step solution

  1. Set up the subtraction in expanded form. With digits aa, bb, cc:

    (100a+10b+c)(100c+10b+a)=99(ac)(100a+10b+c)-(100c+10b+a)=99(a-c)

    The tens digit cancels, so the difference depends only on the first and last digits.

  2. Turn the given difference into a digit condition.

    99(ac)=396  ac=499(a-c)=396\ \Longrightarrow\ a-c=4

  3. Minimise from the most significant digit down. To make the number as small as possible, first make aa as small as possible. Since a=c+4a=c+4 and c0c\ge 0, the smallest legal choice is

    c=0,a=4c=0,\qquad a=4

    Any smaller aa would force a negative last digit.

  4. Choose the smallest tens digit that keeps all digits different. The digits 44 and 00 are taken, so bb cannot be 44 or 00. The next smallest available digit is

    b=1  N=410b=1\ \Longrightarrow\ N=410

  5. Verify the subtraction. Reversing 410410 gives the digit string 014014, i.e. the number 1414:

    41014=396410-14=396\quad\checkmark

    Digits 44, 11, 00 are all different \checkmark. Compare this with the largest version of the same puzzle, where maximising instead of minimising leads to 995995 — the shared engine in both is ac=4a-c=4.

Answer

410(410014=396)410\quad(410-014=396)

Need to solve a different problem like this? Open the solver →