STEP 2 · 20 marks

STEP 2 2020 · Q5

Pure mathematics

If xx is a positive integer, the value of the function d(x)\mathrm{d}(x) is the sum of the digits of xx in base 10. For example, d(249)=2+4+9=15\mathrm{d}(249)=2+4+9=15.

An nn-digit positive integer xx is written in the form ∑r=0n−1ar×10r\displaystyle\sum_{r=0}^{n-1}a_r\times10^r, where 0⩽ar⩽90\leqslant a_r\leqslant9 for all 0⩽r⩽n−10\leqslant r\leqslant n-1 and an−1>0a_{n-1}>0.

  1. Prove that x−d(x)x-\mathrm{d}(x) is non-negative and divisible by 9.
  2. Prove that x−44d(x)x-44\mathrm{d}(x) is a multiple of 9 if and only if xx is a multiple of 9.

    Suppose that x=44d(x)x=44\mathrm{d}(x). Show that if xx has nn digits, then x⩽396nx\leqslant396n and x⩾10n−1x\geqslant10^{n-1}, and hence that n⩽4n\leqslant4.

    Find a value of xx for which x=44d(x)x=44\mathrm{d}(x). Show that there are no further values of xx satisfying this equation.

  3. Find a value of xx for which x=107d (d(x))x=107\mathrm{d}\,(\mathrm{d}(x)). Show that there are no further values of xx satisfying this equation.

Read the questions freely. Sign in to check your answer, see the model answer and save your progress.