As per the answer at https://math.stackexchange.com/a/573040/23890, the infinite power tower $x^{x^{x^{x^{x^{x^{x^{.{^{.^{.}}}}}}}}}}$ converges if and only if $ x \in [e^{-e}, e^\frac{1}{e} ] $.
Is $ e^{-e} = 0.065988... $ really the lower bound for $ x $ for this power tower to converge?
I wrote a Python program to check how this power tower behaves for $ x < e^{-e} $, for example, $ x = 0.01 $. It seems for $ x = 0.01 $, the power tower converges to $ 0.941... $.
from math import *
def power_tower_iterations(x, iterations):
result = 1
for i in range(iterations):
result = x ** result
return result
def power_tower(x):
for iterations in [10, 100, 1000, 10000, 100000, 1000000]:
print(power_tower_iterations(x, iterations))
power_tower(0.01)
Output:
0.9415490240371601
0.9414883685756696
0.9414883685756696
0.9414883685756696
0.9414883685756696
0.9414883685756696
So does the power tower converge for $ x < e^{-e} $ or does it not? If it does not, what error have I made above that led me to the false conclusion that the power tower converged to $0.941...$ for $x = 0.01$?