\[\chi_{1}\left(n\right)=\begin{cases}1,&\left(n,k\right)=1,\\
0,&\left(n,k\right)>1.\end{cases}\]