 However, even finite β-expansions are not necessarily unique, for example φ + 1 = φ2 for β = φ, the golden ratio.A canonical choice for the β-expansion of a given real number can be determined by the following greedy algorithm, essentially due to and formulated as given here by .Let be the base and "x" a non-negative real number.