WLJS LogoWLJS Notebook

CantorStaircase

CantorStaircase[x] gives the Cantor staircase function FC(x).

Examples

Plot the Cantor staircase:

Plot[CantorStaircase[x], {x, 0, 1}]

Evaluate at specific points:

CantorStaircase[1/3]
(* 1/2 *)

Please visit the official Wolfram Language Reference for more details.

On this page