Countable set · Exercise-COUNTABLE-SET-002

Step-by-step solved exercise: Cardinals

Which of these sets is countable?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. A set is countable if we can list it as a sequence that reaches all its elements.

    \[\displaystyle A=\{a_1,a_2,a_3,\dots\}\]
  2. Integers can be listed by alternating negatives and positives, starting from zero.

    \[\displaystyle 0,\,-1,\,1,\,-2,\,2,\,\dots\]
  3. The formula \(\displaystyle f(n)=(-1)^n\lceil n/2\rceil\) produces that list, and each integer appears exactly once.

    \[\displaystyle f(n)=(-1)^n\left\lceil \tfrac{n}{2}\right\rceil\]
  4. Therefore, \(\displaystyle \mathbb{Z}\) is countable, while \(\displaystyle (0,1)\), \(\displaystyle \mathbb{R}\) and \(\displaystyle \mathbb{P}(\mathbb{N})\) admit no such list.

Answer

\(\displaystyle \mathbb{Z}\)

🎯 Build my path to this exercise