suppose $f$ is a map from a non-empty finite set $x$ to a finite group $g$. define the map $zeta^f_g: glongrightarrow mathbb{n}cup {0}$ by $gmapsto |f^{-1}(g)|$. in this article, we show that for a suitable choice of $f$, the map $zeta^f_g$ is a character. we use our results to show that the solution function for the word equation $w(t_1,t_2,dots,t_n)=g$ ($gin g$) is a character, where $w(t_1,t...