Points of the Dirichlet function

We distinguish the rational points Pi = (i/n,1) and the irrational points Q = (i/(n+ /n,0). The lines f and g show they are distinct points of the graph of the Dirichlet function: (x)=1 for rational, and (x)= 0 for irrational x.

Experiment by changing some elements

iYou may change the values of n, and i (recommended to have the same upper bound).

Check all that apply