Quoto

Learn / Library / Brainteasers

Odd digits only

BrainteasersMedium

Consider every -digit number whose digits are all odd, such as or . What is the sum of all these numbers?

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Match each number with the one whose digits are minus its digits.

Solution
  1. Each digit has choices, so there are such numbers.
  2. Replacing every digit by gives a number of the same kind, its partner, for example and ; only is its own partner.
  3. Each number and its partner add up to , since .
  4. Adding each number to its partner, over all numbers, gives and counts every number times.
  5. So the sum is .

Answer: