"""
worst integer sequence?
a(n) = (...((2^3)^4)^...)^n
2, 8, 4096, 1152921504606846976,...
This program prints the length of each term:
1
4
19
109
759
6069
54619
...
John Hanna, johne...@gmail.com
01 March 2022
"""
from ti_system import *
n=2
i=3
while get_key(1)!="esc":
print(len(str(n)))
n=n**i
i+=1
Be kind,
John