Every sum on this page closes on one number whichever sample points you choose. That is a theorem about functions like these, which are continuous, and it can fail without continuity. In 1829 Dirichlet described a function that is 1 at every rational x and 0 at every irrational one. Every strip, however narrow, contains points of both kinds, so tag each strip at a rational and the sum over [0, 1] is 1; tag each at an irrational and it is 0, at every n. The sums share no limit, and the function has no Riemann integral. Lebesgue's integral of 1902 groups the points by the value f takes there instead of by where they sit on the axis, and gives this function the integral 0.