Find all continuous functions $f : \mathbb{R} \rightarrow [1,\infty)$ for which there exist $a \in \mathbb{R}$ and $k$ a positive integer such that $$f(x)f(2x)\dots f(nx) ≤ an^k,$$
for every real number $x$ and positive integer $n$.
EDIT: A trivial solution I could find was the constant function equal to one.
The condition is equivalent to saying $$\sum ^n _{j=1} \ln {f(jx)} \leqslant \ln a + k \ln{n}, $$ For real number $x$ and positive integer $n$.
Taking $\alpha > 0$ and $x = \frac{\alpha}{n}$, we have
$$\sum ^n _{j=1} \ln {f\left(j\frac{\alpha}{n}\right)} \leqslant \ln a + k \ln{n}$$
$$\sum ^n _{j=1}\frac{\alpha}{n} \ln {f\left(j\frac{\alpha}{n}\right)} \leqslant \frac{\alpha\ln a + \alpha k \ln{n}}{n}$$
The left-hand side is a Riemann sum for the function $\ln {f}$ on the interval $[0, \alpha]$. Because $f$ is continuous, so is $\ln {f}$ , and thus $\ln {f}$ is integrable. Letting $n$ tend to infinity, we get
$$ \int_0^\alpha \ln{ f (x)}\ \mathrm dx \leqslant \lim_{n \to \infty} \frac{\alpha\ln a + \alpha k \ln{n}}{n} = 0$$
The fact that $f (x) \geqslant 1$ implies that $\ln {f (x)} \geqslant 0$ for all $x$. Hence $\ln f (x) = 0$ for all $x \in [0, \alpha]$. Since $\alpha$ is an arbitrary positive number, $f (x) = 1$ for all $x \geqslant 0$. A similar argument yields $f (x) = 1$ for $x < 0$. Therefore there is only one such function.