Qm
BrainteasersJane StreetSIG

The missing digit of two to the twenty-ninth

The number 2 to the power 29 has nine digits, all different.

Which of the ten digits 0 to 9 does it not contain? You may not compute 2 to the 29 (it is 536,870,912, but pretend you do not know that); find the missing digit by reasoning.

Show a hint

The digit sum of a number and the number itself leave the same remainder when divided by 9. The ten digits 0 to 9 add up to 45.

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

A quick test for divisibility by 7A hundred animals for a hundred poundsThe last digit of seven to the seven to the sevenThe last two digits of seven to the power 2024Why one less than a prime's square is always a multiple of 24
All questions →