NityaDhi Daily Math Challenge (Nov 14, 2026): Distinct-Digit Extremes — Class 6

Form the largest 5-digit number and the smallest 5-digit number using five different digits (no digit may repeat). What is the difference between these two numbers?

Step-by-Step & NityaDhi Solution

  1. Largest 5-digit number with distinct digits: Arrange the five greatest digits ($9, 8, 7, 6, 5$) in descending order: $98,765$.
  2. Smallest 5-digit number with distinct digits: Use the five smallest digits ($0, 1, 2, 3, 4$). Since $0$ cannot be in the ten-thousands place, place $1$ first, followed by $0, 2, 3, 4$: $10,234$.
  3. Difference: $$98,765 - 10,234 = 88,531$$

Compare digits column by column from left to right (Vedic left-to-right subtraction)! Since every digit in $98,765$ is larger than the corresponding digit in $10,234$ ($9>1$, $8>0$, $7>2$, $6>3$, $5>4$), there is zero borrowing: just subtract each place directly ($8, 8, 5, 3, 1$) to get $88,531$ in two seconds!