if C {\displaystyle {\mathcal {C}}} is the Cantor set on [0,1], then the Cantor function c : [0,1] → [0,1] can be defined as