Sorry if it seems a silly question.
I have a function $f$ that returns a certain set of elements that are all in the same domain. The exact number of element depends on the input. For example $f(x) = \{0,1\}$ for $x = 42$ and $f(x) = \{0,1,2\}$ for $x = 3.14$. On this example, how do I write the domain of the output ?
I would expect something like $f:\mathbb{R} \longrightarrow \mathbb{N}^k$ or $f:\mathbb{R} \longrightarrow k^\mathbb{N}$ with $k \in \mathbb{N}$, but I thinks these notations are wrong... What is the right one ?