Phigital number (source code)

= Phigital number

A <phigital number> is a number represented using <golden ratio base>, with digits weighted by powers of $\varphi=(1+\sqrt5)/2$. The word describes the representation rather than a separate kind of arithmetic object.

For example, $10.01_\varphi=\varphi+\varphi^{-2}=2$. Since $100_\varphi=011_\varphi$, distinct strings can represent the same value unless a normalization convention is imposed. Finite phigital expansions belong to $\mathbb Z[\varphi]$, because $\varphi^{-1}=\varphi-1$, so even negative powers can be reduced to <integer> combinations of $1,\varphi$.