Theorm : Let $f:\mathbb{R} \to \mathbb{R}$ be a periodic function and suppose $f$ is continous at some $\zeta \in \mathbb{R}$ and that $f$ has no fundamental period then prove that $f$ is constant .
My trial proof using sequences
Let $\{p_n\}$ be a decreasing sequence of periods of $f$ converging to $0$.
If $f$ is not constant then $\exists $ a point $a$ such that $f(a) \neq f(\zeta)$.
Let $ a\gt \zeta$.
There exist $ m\in \mathbb{N}$ such that $0\lt p_n \lt a-\zeta, \forall n \gt m$
We choose $x_1, x_2 , ..., x_m$ as the same real number $a$
For $n\gt m$, we select $x_n \in (\zeta, \zeta+p_n) $ such that $f(x_n)=f(a)$ which is possible by the periodicity of $f$
Clearly $x_n \to \zeta$ as $n\to \infty$ but the corresponding functional sequence $f(x_n)=f(a)\to f(a)\neq f(\zeta) $ as $n\to \infty$ thus contradicting that $f$ is continous at $\zeta$
Similar technique for $a\lt \zeta$
Thus there is no such $a$ and so the result follows.
I know there are several questions like this posted here but as far as I have seen none of them use sequences.
My proof looks too simple . Is everything correct or am I overlooking something?
Thanks for your time.