Could you suggest a function $f:\mathbb{N}^+\setminus\{1\}\rightarrow \mathbb{N}^+$ such that
- $\lim_{x\rightarrow \infty}\frac{f(x)}{x}=0$
- $\lim_{x\rightarrow \infty}f(x)=\infty$
- $f(x)<x$ $\forall x \in \mathbb{N}^+$
- $f(500)=340$
where $\mathbb{N}^+$ denotes the strictly positive natural numbers (zero excluded), $\mathbb{N}^+\setminus\{1\}$ denotes $\mathbb{N}^+$ without $1$. See a related question here which imposes less constraints on the desired function. For example, the answer to that question suggests $$ f(x)=340*(\log(x^2+1)/\log(500^2+1)) $$ which does not work here because $f(x)>x$.