-2
$\begingroup$

Let $\Sigma$ be an alphabet. Is the set of all strings over $\Sigma$ (i.e. $\Sigma^*$) countably infinite or uncountably infinite?

$\endgroup$
1
  • $\begingroup$ It would be helpful to know the cardinality of $\Sigma$. $\endgroup$ Commented Sep 13, 2023 at 0:51

2 Answers 2

3
$\begingroup$

$\lambda$, $a$, $b$, $aa$, $ab$, $ba$, $bb$, $aaa$, $aab$, $aba$, $abb$, $baa$, $bab$, $bba$, $bbb$, $aaaa$, $\dots$,

$\endgroup$
0
$\begingroup$

Let us assume your set is $S=\cup_{n\geq1}\Sigma^n$. Clearly, this set is infinitely large. All that is left to figure out is if $S$ is countable.

Any set with a bijection to the set of Natural Numbers, i.e., $\{0,1,2,\ldots\}$, is countable.

Use the above fact to determine why $S$ is an infinitely large countable set.

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.