I learned recently that the solution to $\frac{e^n}{n}=e^2$ is 3.146.., which is very near $\pi$. Is this just a coincidence, or is there something to the expression that leads to it being so close to $\pi$?
I feel like my question might be related to this, but I'm not too sure how to relate the two: Curious relation between $e$ and $\pi$ that produces almost integers
(A proof and explanation based on the comments)
Let $\bbox[5px,border:2px solid red]{p>0 \land p\neq1}$, $q$ be 'know' and $x$ -unknow: $$ \frac{p^x}{x}=p^q\implies x\neq0 $$ $$ p^{x-q}=x $$ From: $a^c=b \iff log_ab=c$
We get $$ log_px=x-q \implies \bbox[5px,border:2px solid green]{q=x-log_px }\leftarrow comments $$ Because of the logarithm $log_px \Rightarrow\bbox[5px,border:2px solid yellow]{x>0}$
Conclusion:
EDIT: We can also say:$q+log_px=p^{x-q}$
When $q=0$ $\implies \exists!x:log_px=p^x$
I) For $ a\in(0;1) $ $\implies \exists!x:q+log_px=p^{x-q}$
We just transform $a^x\rightarrow p^{x-q}$ $\land$ $log_ax\rightarrow q+log_px$
II) For $a>1$:
I think $x$ can be found at least via numerical analysis
or via a graph-sample pair functions: $$f_1(x)=log_px\land g_1(x)=x-q$$ $$f_2(x)=p^{x-q}\land g_2(x)=x$$
in the points of intersection.
For the $(p;q)$ pairs:
1)$(e;2)\mapsto x\approx\pi$ @Peter
2)$(5;2)\mapsto x\cong2.59$ @Pedro
I am gonna find the other solutions:
I. $x=e^{x-2}$
$x_1\approx\frac{1}{2\pi+\frac{e}{122.39}}$ and $x_2\approx\pi$
II. $x=5^{x-2}$
$x_1\approx \frac{1}{0.973+10\sqrt{5}}$ and $x_2\approx2.591708$
Properties:
I.
Proof: Let's put $x=q$ (to see what happens): $$p^{q-q}=q $$ $$p^{0}=q\implies q=1\iff x=1 $$
II.
Proof: Let's put $x=p$ (to see what happens): $$p^{p-q}=p $$ $$p^{p-q}=p^1\implies p-q=1\implies q=p-1 $$
Note that base on the domain:$p\neq1$ that $q\in\mathbb{R}$ still is true.