Determine base required to accurately represent number

49 Views Asked by At

If you have an expression like 1/3, that can't be accurately represented in base 10. It would look like 0.3333333.... However, it can be represented in base 3 as 0.1. Is there a way to mathematically find a base that can accurately represent the results of a given expression?