We want to show $$F=\{ f \in \mathbb{N}^{\mathbb{N}}: \ \forall n \in \mathbb{N} \ f(2n)=n \}$$ is a set with cardinality of the continuum.
I start off by considering how the elements of $F$ look like. It seems they are of the form
$$\langle 0, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, \dots \rangle$$ We notice $F \subseteq \mathbb{N}^{\mathbb{N}} \implies \lvert F \rvert \leq \mathfrak{c}$. Now, we need to show $\lvert F \rvert \geq \mathfrak{c}$. This might be done by finding an injection from a well-known set with cardinality of the continuum to $F$. $\{0,1 \}^{\mathbb{N}}$ might be a choice but I'm not quite sure what injection to choose. Any suggestions?