๐ฃ Numbers Represented by N Places
Numbers Represented by $n$ Places
In any positional number system of base $b$, using $n$ places allows representation of exactly $b^n$ distinct values.
๐ฏ Derivation through Combinatorics
Every place value has choices ranging from 0 to the base number b-1, which is b choices
And with n places, we have a combined outcome of n outcomes
Since each outcome there are b choices, and we have n outcomes, totalling to $b^n$ outcomes
We have a total of $b^n$ possible numbers
๐ฏ Derivation through Number System
Counting from 1 to the maximum value of the base b for n digits
Which is also the same as the place value of the next place minus 1
$$ b^n - 1 $$Then we count 0 as the unaccounted representation
We get
$$ b^n $$Last updated on