Properties of the Cantor Function