Dynamics of Number Systems