I want to compute the representation of the following values using the factorial number system:
- $\pi$
- $e$
- $\phi$
I know how to do it for integer values, but is it feasible for non-integer values?
In particular, is it feasible for irrational values, or even transcendental values?
If yes, can you please suggest an appropriate method?
Thanks
My other answer was answering a very different question.
Looking at Wikipedia's description of fractional values in a factorial number system, it says that $e$ can be represented as $10_F1111111\ldots$, i.e. as $1\times2! +0\times 1! +1\times\frac1{2!}+1\times\frac1{3!}+1\times\frac1{4!}+1\times\frac1{5!} + \cdots$. Note that Wikipedia omits any digits which must be zero so no multiples of $0!$, $\frac1{0!}$ or $\frac1{1!}$ are shown and $71_{10}$ would be represented by $2321_F$.
On a similar basis $\pi$ can be represented by $11_F0031565\ldots$ i.e. as $1\times2! +1\times 1! +0\times\frac1{2!}+0\times\frac1{3!}+3\times\frac1{4!}+1\times\frac1{5!} +5\times\frac1{6!}+6\times\frac1{7!}+5\times\frac1{8!} + \cdots$
The way to calculate this is to have a remainder $r_{n-1}$ after finding the digit which multiplies $\frac{1}{(n-1)!}$, take $d_n=\lfloor nr_{n-1}\rfloor$ and $r_n = nr_{n-1} -d_n$. So with $\pi$, we have $r_1=\pi-3 \approx 0.1415927$ and the calculation of the fractional digits $d_n$ looks like
On a similar basis $\phi$ can be represented by $1_F1024067\ldots$