Dirichlet function
Appearance
In mathematics, Dirichlet function is defined by D (x) = 0 if x is rational and 1 if x is irrational. The function is named after Johann Peter Gustav Lejeune Dirichlet, a German mathematician.
It turns out, the function is discontinuous everywhere.