Integer mathematical function, suitable for both symbolic and numerical manipulation.
DirichletCharacter[k, j, n] picks a particular ordering for possible Dirichlet characters modulo k.
There are distinct Dirichlet characters for a given modulus k, as labeled by the index j. Different conventions can give different orderings for the possible characters.