Before touching anything, let me say what this object is. Both numbers have the form base-to-an-exponent with both the base and the exponent irrational: nothing cancels, neither number can be evaluated exactly, and this is one instance of the general contest a to the b against b to the a. So I am aiming at a decision theorem, not a trick for these two constants.
The question also bans the calculator, and that changes what counts as an answer: I owe a strict inequality proof. Decimals get exactly one role here, a labelled sanity check after the proof is closed, never inside it.
The one tool I plan to use is the logarithm. It is strictly increasing, so the order between two positive numbers is equivalent to the order between their logs, and the logs simplify: e ln pi versus plain pi. That comparison is now the whole question.
Take logs of the two candidates: the left log is e ln pi, the right log is pi times ln e, which is just pi. This is an equivalence, not an approximation, the monotonicity of ln works in both directions.
Now the normalising move that turns this into a theorem. Divide the comparison by the product e pi; it is strictly positive, so nothing about the direction can change. e ln pi versus pi becomes ln pi over pi versus one over e, and one over e is exactly ln e over e. Both sides now have the same shape.
In full generality: a to the b versus b to the a is b ln a versus a ln b, and dividing by ab turns it into ln a over a versus ln b over b. That is the decision procedure, and this question is the instance (a, b) equals (e, pi).
So I define one function of one variable, g of x equals ln x over x on the positive reals, and the whole question becomes which is larger, g of pi or g of e. Everything from here on is about the shape of g.
Let me differentiate the constructed function. Quotient rule: the numerator is x times one over x, minus ln x, over x squared, so g prime of x is one minus ln x, all over x squared.
The denominator is strictly positive everywhere, so the sign is carried entirely by one minus ln x. And ln is strictly increasing with ln e equal to one: the sign is positive strictly below e, strictly negative strictly above e, with a single strict flip exactly at e. One peak, and it sits at x equals e.
Let me draw it and mark the two abscissae. e and pi both land on the descending branch, e to the left of pi, the picture is exactly the claim that g of e is above g of pi. The heights are close on this scale, so what carries the argument is the strict monotonicity, not the pixels.
The decision is going to use e below pi, and I have not been given that, so here it is without decimals. First, k factorial is at least two to the k minus one for every k at least one, so e, defined as the sum of one over k factorial, is bounded above by one plus the geometric series one plus a half plus a quarter plus so on, which sums to three, and the bound is strict because the k equals three term is one sixth, strictly below one fourth. So e is strictly less than three.
Second, pi is strictly greater than three by elementary geometry: an inscribed regular hexagon has perimeter six r, which is three diameters, and a broken line inside the circle is shorter than the circumference pi d. Hence e is below three which is below pi; the placement is proved, not assumed.
Now assemble. Both e and pi lie in the interval from e to infinity, on which g is strictly decreasing, and e is strictly left of pi, so g of e is strictly greater than g of pi. Unwind: that says ln e over e exceeds ln pi over pi; multiply through by the positive product e pi to get pi strictly greater than e ln pi; the left is ln of e to the pi, the right is ln of pi to the e; exponentiate, which preserves order, and e to the pi is strictly larger than pi to the e.
Every step was reversible, and strictness never leaked: it survived the multiplication because e pi is positive, and it survived the log step because e and pi are distinct and g has no other critical point. No decimal appeared anywhere in this chain.
The first proof rode on the monotonicity of g. Let me reprove the same strict direction from tangent geometry, so that one slip in the quotient rule cannot sink the answer. The log curve has slope one over e at the point (e, 1), so its tangent there is y equals one plus x minus e over e, which collapses to y equals x over e, and note that line passes through the origin: the tangent at e is the ray of slope g of e.
Now read the mean value theorem off the drawing instead of quoting a concavity name. Between e and any x strictly to its right, the chord joining the two points of the curve has slope exactly one over xi, for some xi strictly between. That xi is strictly greater than e, so the chord slope is strictly less than one over e, the chord undershoots the tangent, and the curve itself lies strictly below the tangent at every point right of e.
Put x equal to pi. Ln pi is strictly less than pi over e; multiply by the positive e and the lemma gives e ln pi strictly less than pi, precisely the link that closed the first route, reached without g and without the quotient rule. Two structural proofs, one strict direction.
The proof is finished and none of this belongs to it, but I never want to believe a structural argument that disagrees with arithmetic. So: the decimal audit.
The g table climbs through one and a half and two, peaks between 2.5 and 3; so the maximum is exactly where the derivative said it was, at e, and falls through pi and four. The two contestants: g at e is 0.3679 against g at pi of 0.3644, direction confirmed. And the numbers themselves, 23.14069 against 22.45916: e to the pi on top, with a margin of about 0.68.
The two scales agree to four decimals: the log gap pi minus e ln pi is 0.02989, and e raised to that reproduces the direct ratio 1.03035. The mean value point, computed as pi minus e over ln pi minus one, is 2.92483; indeed strictly between e and pi, and its reciprocal 0.34190 is indeed below one over e, as the chord picture claimed.
One table entry is not a rounding coincidence: g at 2 and g at 4 agree exactly, both being ln 2 over 2. That is a genuine equality, and it is the worst thing that can happen to my decision theorem, so I am going to test the theorem on it next.
Before concluding, let me stress-test the theorem on its own boundary. The case a equals b is trivially tied, and g agrees: same input, same output. But ties are not confined to it: look at the pair 2 and 4; sixteen both ways, distinct numbers, equal powers. It happens exactly because 2 sits left of e, 4 sits right of e, and g takes the same value on the two different branches at those two points.
Straddling pairs can also outright flip: 2 cubed is 8 against 3 squared is 9, and 1 squared is 1 against 2 to the first is 2. So the honest statement is that g always decides, comparing ln a over a with ln b over b is the theorem, while the monotonicity shortcut decides only when both numbers lie on the same side of e. My pair, e and pi, both lie on the descending branch, which is precisely why the shortcut was legal.
On and above e everything is uniform: 3 against 4 gives 81 over 64, 4 against 5 gives 1024 over 625, and our (e, pi) case agrees with the same direction. The failure boundary is exact, and it is one line: the sign change of one minus ln x happens at e and nowhere else.
So the answer, in the direction I proved: pi to the e is strictly less than e to the pi, the larger number is e to the pi, and every decimal on this board appeared only after the proof closed.
What the question was really testing is the general form: to compare any a to the b with any b to the a, push both numbers through the single function g of x equals ln x over x and compare the outputs; equality of the powers is equivalent to equality of the g values, the case a equals b included. Where the pair sits relative to the peak tells you whether the monotonicity shortcut is admissible.
The same g is a landmark worth keeping: one over e is the largest value ln x over x attains, which repackages as ln x at most x over e for every positive x with equality only at e, and as x to the one over x being maximised at e. That is the sense in which e is the natural growth threshold the question hints at.
Finally the limit echo the topic title promised: for consecutive integers, n to the n plus one beats n plus one to the n exactly when n exceeds one plus one over n, all to the n; that sequence rises to e from below, and e is less than three, so every n at least three obeys while n equals one and two fail. The same turning point, now seen through the definition of e as a limit.
Divide both sides by n to the n: the contest n to the n plus one against n plus one to the n becomes exactly n against one plus one over n, to the n. The right side is the very sequence that defines e as a limit, it rises strictly, and it stays strictly below e.
So for every n at least three: n is at least three, three exceeds e, and e exceeds the sequence, the inequality n to the n plus one is greater than n plus one to the n holds for all n at least three, proved without a single derivative.
Below the boundary it genuinely fails: at n equals one I would need one to exceed two, and at n equals two, two to exceed three halves squared, which is 2.25. Both are false, and the flip sits exactly where e sits, between 2 and 3.
The missing side is the other case of the same mean value argument. Take x strictly below e and apply the theorem on the interval from x to e: one minus ln x over e minus x equals one over xi at some xi strictly between. Now xi is strictly less than e, so one over xi exceeds one over e, and multiplying by the positive e minus x keeps the direction: one minus ln x strictly exceeds one minus x over e, i.e. ln x is strictly below x over e.
Assembling the two sides: ln x is at most x over e for all positive x, with equality at exactly one point, the contact point (e, 1). Geometrically, the tangent through the origin is the unique line through the origin that the log curve never crosses.
And dividing that inequality by the positive x gives ln x over x at most one over e, the maximum statement from the very first drawing. Both proofs really are the same theorem in different clothes.
Write b as t a with t positive and t not one. The equality a to the t a equals (ta) to the a cancels an a-th power: a to the t equals t times a, i.e. a to the t minus one equals t. So the complete family is a equals t to the one over t minus one, b equals t to the t over t minus one, running over t greater than zero, t not equal to one.
Every member straddles e: the two coordinates land on opposite sides of the peak where g takes the same value twice. The value t equals two gives the integer pair (2, 4); t equals three gives the pair a equal to root three and b equal to three root three; t equals one half just reverses the order of the same pair.
And e lives inside the parametrisation as its limit: as t tends to one, t to the one over t minus one tends to e, so the two coordinates coalesce exactly at the turning point. On the integers the only distinct pair is 2 and 4.
Same branch, same machine: e, three and pi are all at least e and strictly increasing, and g is strictly decreasing on that whole interval, so g at e exceeds g at three exceeds g at pi.
By the decision theorem, the larger g wins the cross-powers: e cubed exceeds three to the e, and three to the pi exceeds pi cubed. Nothing new was proved, only instantiated at other points of the falling branch.
And afterwards, only afterwards, the audit: 20.0855 against 19.8130, and 31.5443 against 31.0063. Both directions as predicted, both margins thin enough that any truncation-based argument would have been embarrassing.