http://home.comcast.net/~plastereddragon/maths/bases.htm