Let $f$ satisfy the following equation, $$ f(nx)=f(x), \qquad n\text{ a positive integer}.$$ Then I know that the most general solution is $$ f(x)= C_{+}x^{2\pi i m/\log n}+C_{-}x^{-2\pi i m/\log n}.$$ However the solution will depend of two integers $m$ and $n$.
My question is what extra condition can I impose to my solution , (apart from the invariance under dilations) so the general solutions depend only on the number $n$ so $$ f(x)= C_{+}x^{2\pi i n/\log n}+C_{-}x^{-2\pi i n/\log n}.$$
as an extra information the function f(X) is the solution to the eigenvalue equation $ x \frac{df}{dx}=kf(x) $ here 'k' is a (complex) eigenvalue.
Thanks in advance.