Assumptions:
TeX:
\chi_{q \, . \, 1}\!\left(n\right) = \begin{cases} 1, & \gcd\!\left(n, q\right) = 1\\0, & \text{otherwise}\\ \end{cases}
q \in \mathbb{Z}_{\ge 1} \;\mathbin{\operatorname{and}}\; n \in \mathbb{Z}Definitions:
| Fungrim symbol | Notation | Short description |
|---|---|---|
| DirichletCharacter | Dirichlet character | |
| GCD | Greatest common divisor | |
| ZZGreaterEqual | Integers greater than or equal to n | |
| ZZ | Integers |
Source code for this entry:
Entry(ID("d8c6d1"),
Formula(Equal(DirichletCharacter(q, 1, n), Cases(Tuple(1, Equal(GCD(n, q), 1)), Tuple(0, Otherwise)))),
Variables(q, n),
Assumptions(And(Element(q, ZZGreaterEqual(1)), Element(n, ZZ))))