Problem

Source:

Tags: function, Functional Equations, pen



Prove that there is a function $f$ from the set of all natural numbers into itself such that $f(f(n))=n^2$ for all $n \in \mathbb{N}$.