Qm

The four-digit number that reverses when multiplied by four

Find a four-digit number whose digits, when the number is multiplied by 4, come out in exactly reverse order. In symbols, ABCD × 4 = DCBA.

Then find the corresponding number for multiplying by 9.

Show a hint

The first digit A must be small, since 4 × ABCD is still four digits. And the last digit D, multiplied by 4, must end in A. Those two facts pin down A and D quickly.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

The number equal to the sum of the cubes of its digitsThe cannonballs that make a square and a pyramidThe number that rotates when multipliedEight eights that add to a thousandThe number that equals the sum of the factorials of its digits
All questions →