ThmDex – An index of mathematical definitions, results, and conjectures.
▼ Set of symbols
▼ Alphabet
▼ Deduction system
▼ Theory
▼ Zermelo-Fraenkel set theory
▼ Set
▼ Binary cartesian set product
▼ Binary relation
▼ Map
▼ Function
▼ Real collection function
▼ Euclidean real function
▼ Real function
▼ Rational function
▼ Integer function
▼ Natural number function
▼ Boolean function
▼ Indicator function
Definition D6102
Dirichlet function
Formulation 0
Let $\mathbb{R}$ be the D282: Set of real numbers.
Let $\mathbb{Q}$ be the D368: Set of rational numbers.
The Dirichlet function is the D218: Boolean function \begin{equation} I_{\mathbb{Q}} : \mathbb{R} \to \{ 0, 1 \}, \quad I_{\mathbb{Q}}(x) = |\mathbb{Q} \cap \{ x \}| \end{equation}