Dirichlet character
For the special case of formula_14 the principal Dirichlet character, the Gauss sum reduces to the Ramanujan sum: