0

I have a problem of getting $n$, I do not even know if it is possible. If $\space n! > n^3 \space so \space n! = \left( \frac { n ( n + 1 ) } {2}\right ) ^ 2$

I tried different methodologies and still have nothing to stick with. I do not know which topic I should dig in to solve this problem.

Could you solve it with an explanation ?

An Alien
  • 508

1 Answers1

0

The simplest would be to try with your pocket calculator.

Let us make the problem more general and say that we want to solve for $n$ the equation $$n!=a^n$$

If you have a look at this question of mine, you will see a superb approximation given bt @robjohn. Adapted to the problem ($k=0$), we have $$n \sim a\, e^{1+W(t)}-\frac 12\qquad \text{where} \qquad t=-\frac{\log (2 \pi a)}{2 e a}$$ where $W(t)$ is Lambert function.

Working with real numbers, for $a=3$, this gives $n=6.00778$ while the exact solution given by Newton method is $n=6.01602$.

Since $t$ is small for $a>1$, you can use $$W(t)=t-t^2+\frac{3 t^3}{2}-\frac{8 t^4}{3}+O\left(t^5\right)$$ $$e^{W(t)}=1+t-\frac{t^2}{2}+\frac{2 t^3}{3}-\frac{9 t^4}{8}+O\left(t^5\right)$$ or, even better $$e^{W(t)}=\frac{101 t^2+174t+60}{17 t^2+114t+60}$$

Using the above, for $a=3$, you would obtain $n=6.00868$.