Exercise · ZW-PERMUTATIONS-WITH-REPETITION-004 · ★☆☆ Basic

A binary string of length 8 has exactly three ones. How many such strings are there?

Choose one option.

Show answer
  • B. \(56\)

Explanation

This is arranging three 1s and five 0s: \(\dfrac{8!}{3!\,5!}=56\). The value \(336\) treats the ones as if they were different.

Study Discrete mathematics in ZWMath →

Review the concept: Permutations with repetition

The permutations with repetition of \(n\) objects, of which \(n_i\) are indistinguishable of a single type \(i\) (\(i=1,\dots,k\)), are their distinguishable arrangements in a row.

\[\dfrac{n!}{n_1!\,n_2!\cdots n_k!}\]

More practice problems: permutations with repetition

← ZW-PERMUTATIONS-WITH-REPETITION-003 ZW-PERMUTATIONS-WITH-REPETITION-005 →