
\[\chi\left(a\right)=1\text{ for all $a\equiv 1$ (mod $d$)},\]