<<Up     Contents

Devil's staircase

A devil's staircase is a function f(x) defined on the interval [a,b] with the following properties: One staircase on [0,1] can be constructed as follows.
  1. Express x in base 3.
  2. Replace the first 1 with a 2 and everything after it with 0.
  3. Replace all 2s with 1s.
  4. Interpret the result as a binary number. The result is f(x).

This staircase is a cumulative distribution function; the random variable it describes is uniformly distributed on the Cantor set.

There are other functions that have been called "devil's staircase". One is defined in terms of the circle map[?].

wikipedia.org dumped 2003-03-17 with terodump