Discrete Math- Function of sets.

41 Views Asked by At

$f: \{0, 1\}^* \to \mathbb{N}$, where $f(x) = k$ if the length of the string is $k$.

Can someone translate this for me, I do not quite understand what the star means at the end of the $\{0,1\}^*$.

1

There are 1 best solutions below

1
On

If $A$ is a set of symbols then $A^*$ is the set of all strings (words, sequences) built from elements of $A$. So $\{0,1\}^*$ is the set of all bit strings, like $1001$ and $10101000$.