Exercise · ZW-CANTOR-S-DIAGONAL-THEOREM-009 · ★★★ Advanced

Let \(A\) be the set of binary sequences with finitely many ones. Is \(A\) countable?

Choose one option.

Show answer
  • D. Yes: each element of \(A\) is determined by a finite string of zeros and ones, and the finite strings form a countable set.

Explanation

A sequence with finitely many ones can be truncated after its last 1, and finite binary strings form a countable set. A subset of an uncountable set can be countable.

Study Set theory in ZWMath →

Review the concept: Cantor's diagonal theorem

Theorem proving that the set \(\{0,1\}^{\mathbb{N}}\) of binary sequences is not countable, by building a sequence that appears in no list.

\[t(n)=1-s_n(n)\]

More practice problems: cantor's diagonal theorem

← ZW-CANTOR-S-DIAGONAL-THEOREM-008 ZW-CANTOR-S-DIAGONAL-THEOREM-010 →