Skip to content

Lesson 1 of 6 · Number Bases

Decimal to Base b: Fast Conversion

Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT

Video lesson: Decimal to Base b: Fast Conversion

Sign in to watch · 5 min video

Worked examples

Example 4Typical

Four-digit decimals with exactly four base-66 digits

Example 2Easy

Unit digit of 21112111 in base 88

Formulas you need

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.
Last digits in base b

last k digits of N in base b ↔ N mod bk;unit digit=N mod b\text{last }k\text{ digits of }N\text{ in base }b\ \leftrightarrow\ N\bmod b^{k};\quad\text{unit digit}=N\bmod b

Last three binary digits of N are the binary form of N mod 8.

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