Skip to content

Lesson 5 of 6 · Number Bases

Digit Count in Base b

Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT

Video lesson: Digit Count in Base b

Sign in to watch · 5 min video

Worked examples

Example 4Typical

Four-digit decimals with exactly four base-66 digits

Example 3Easy

Digits of 10001000 in base 77

Formulas you need

Digit count in base b

N has k digits in base b  ⟺  bk−1≤N<bkN\text{ has }k\text{ digits in base }b\iff b^{k-1}\le N<b^{k}

1777 has five digits in base 5 (625 <= 1777 < 3125) and in base 6 (1296 <= 1777 < 7776); least base 5.
Numbers using only the digits 0 and 1

the k-th number written with decimal digits 0,1 only=binary numeral of k\text{the }k\text{-th number written with decimal digits }0,1\text{ only}=\text{binary numeral of }k

The 10th such number is 1010 (binary of 10); count of such numbers below 10^k is 2^k - 1.

Watch out

  • Reversed remainders; decimal place values; invalid digits; digit-count off by one.

How Number Bases is asked

  • convert base
  • count numbers with binary digits below N
  • (25)_x = (85)_10 -> x
  • 1777 has exactly 5 digits in base x -> least x
  • last three binary digits of N

Picked from the Number Bases note for this micro-concept automatically. The whole note: Number Bases.

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

Start free