Skip to content

Lesson 1 of 7 · Digits and Number Forms

Digit Count of 2^a × 5^b

Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT

Video lesson: Digit Count of 2^a × 5^b

Sign in to watch · 5 min video

The exam method

  1. Digits of 2a5b2^{a}5^{b}: pair into tens, count the leftover's digits.
  2. 40004000th digit of 0.142857‾0.\overline{142857}: 4000≡4(mod6)4000\equiv4\pmod6, digit 88.

Worked examples

Example 2Easy

How many digits are written from 11 to 500500? 9+180+401×3=13929+180+401\times3=1392.

Example 3Easy

Digits in 220×5242^{20}\times5^{24}

Formulas you need

Digit count of a product of powers of two and five

2a×5b=10min⁡(a,b)×(leftover power) ⇒ digits=min⁡(a,b)+digits of leftover2^{a}\times5^{b}=10^{\min(a,b)}\times(\text{leftover power})\ \Rightarrow\ \text{digits}=\min(a,b)+\text{digits of leftover}

Pair 2s with 5s to make tens; the leftover factor supplies the leading digits (5^72 x 8^27 = 512 x 10^72: 75 digits).
Combined digit count of a power of two and the same power of five

2n and 5n together have n+1 digits2^{n}\text{ and }5^{n}\text{ together have }n+1\text{ digits}

Indore 2024 Q27: 2^2024 and 5^2024 -> 2025 digits (stored in the logarithms chapter).

Watch out

  • Off-by-one positions; zero thousands digit; occurrences vs numbers; digit count of powers off by one.

How Digits and Number Forms is asked

  • how many digits in 2^a 5^b (Indore 2024 Q27 filed under logarithms)
  • find a two/three-digit number from digit relations (reverse, sum, product)
  • highest value of N / (digit sum) for a four-digit N (Indore 2021 Q19)
  • 6389th digit of 123456789101112... (Indore 2019 Q18)
  • four-digit number from product/difference conditions on its digits (Indore 2020 Q7)
  • how many times the digit 4 is written from 1 to 500
  • 4000th digit of 0.142857...

Picked from the Digits and Number Forms note for this micro-concept automatically. The whole note: Digits and Number Forms.

Practise this free. Every mistake is saved and comes back until you fix it.

Start free