Cantor function, a.k.a. devil's staircase | Hacker News Reader