Let $f:\mathbb{N} \to \mathbb{N} \cup \{ 0 \} $ be a function.Suppose that $f(1)=0$, and that if $n<m$ then $f(n) < f(m)$ for all $n,m \in $ $\mathbb{N}.$Prove for each $x\in \mathbb{N}$, there are unique $n,p \in \mathbb{N}$ such that $f(n) < x \leq f(n+1)$ and $x = f(n) +$ $p$.
Firstly, I thought we have to show the existence of $x$ and $p$, and then we should show that they are unique.
For the first part, we know that f is a strictly increasing function from the definition, so since $x = f(n) + p$, if we plug x into the inequality $f(n) < x \leq f(n+1)$, we get $$f(n) + p \leq f(n+1),$$ which tells us that there is some p satisfying the conditions if there is x satisfying the necessary conditions.However, after that, I couldn't find how to show the existence of x.
As the second part, I think there is a problem in the theorem abut the uniqueness because from the inequality $$f(n) + p \leq f(n+1)$$ we can deduce that if the difference between $f(n+1)$ and $f(n)$ is more than $1$, is not unique.
To sum up, How can we show the existence of $x$ and the uniqueness of $x$ and $p$ ?
Note: Please the answer be in the level of first year of mathematics studies.
Note: Based on your question, you are given $x$ and have to show the existence of $n$ and $p$.
Given $x \in \mathbb{N}$, define the set $$S_x=\{a \in \mathbb{N}\, | \, f(a) < x\}$$ Due to the increasing nature of $f$ this set is finite, hence it has a unique maximum element. Let $n=\max{S_x}$, then $f(n)<x$. So now you have the existence of $n$. For getting $p$, we just define $p=x-f(n)$.