# Fungrim entry: d8c6d1

$\chi_{q \, . \, 1}\!\left(n\right) = \begin{cases} 1, & \gcd\!\left(n, q\right) = 1\\0, & \text{otherwise}\\ \end{cases}$
Assumptions:$q \in \mathbb{Z}_{\ge 1} \;\mathbin{\operatorname{and}}\; n \in \mathbb{Z}$
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$\chi_{q \, . \, \ell}$ Dirichlet character
GCD$\gcd\!\left(a, b\right)$ Greatest common divisor
ZZGreaterEqual$\mathbb{Z}_{\ge n}$ Integers greater than or equal to n
ZZ$\mathbb{Z}$ 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))))

## Topics using this entry

Copyright (C) Fredrik Johansson and contributors. Fungrim is provided under the MIT license. The source code is on GitHub.

2021-03-15 19:12:00.328586 UTC