CantorStaircase

CantorStaircase[x]

gives the Cantor staircase function .

Details

  • The Cantor staircase function is also known as Cantor ternary function or Cantor function.
  • Mathematical function, suitable for both symbolic and numeric manipulation.
  • For , the Cantor function equals TemplateBox[{x}, CantorStaircase]=sum_i2^(-n_i).
  • For certain arguments, CantorStaircase automatically evaluates to exact values.
  • CantorStaircase can be evaluated to arbitrary numerical precision.
  • CantorStaircase automatically threads over lists.

Examples

open allclose all

Basic Examples  (1)

In[1]:=
Click for copyable input
Out[1]=

Scope  (3)

See Also

IntegerDigits  MinkowskiQuestionMark

Introduced in 2014
(10.0)