This question was left as homework by my instructor and he didn't discussed it.
An arithmetical function f is called periodic mod k if k>0 and f(m) =f(n) whenever m$\equiv$ n (mod k). The integer k is called a period of f.
(i) If f is periodic mod k, prove that f has a smallest positive period $k_{0}$ and $k_{0}$ |k.
Attempt : by well ordering principle there exists a smallest period $k_{0}$ .
Now, m$\equiv$ n (mod k) => f(m) =f(n) => m$\equiv$ n (mod $k_{0}$ => m-n = $k_{0}$ x,$ m-n =k_{1} y$ , which implies $k_{0} x = k_{1} y$ and $k_0 < k_{1}$ implies that x>y , but I am still not getting that y divides x to prove what is asked.
Can you please help in deducing that ?