If 123 is written in base b then it represents b2 +2b+3