A ternary number is a sequence of digits, each either or . How many -digit ternary numbers have exactly three (one)?
Examples of an -digit ternary numbers are and and .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Think of building such a number in two stages.
Stage 1: Specify the location of the three 1 . There are 8 C 3 = 5 6 ways to do it.
Stage 2: Specify the remaining digits. There are 2 5 = 3 2 ways to do it.
By the product rule, there are 5 6 × 3 2 = 1 7 9 2 eight-digit ternary numbers that have exactly three 1 .