Calculate an Exponential Tower

Calculator for exponential towers. An exponential tower is a sequence of exponentiations, like a1 to the power of (a2 to the power of (a3 to the (...))). The single steps are determined by a sequence, this can also simply be a number. As running variable, which is increased by 1 in each step, i is used. Only this variable may occur in the formation sequence. The basic arithmetic operations + - * / are allowed, as well as the power function, like pow(2#i) for 2i. Further allowed functions are sin(), cos(), tan(), asin(), acos(), atan(), log() for the natural logarithm and abs() for the absolute value. Also, the constants e and pi can be used. If every step is a number larger than 1, the result will get very big very quickly. If one step is negative and its exponential is an even root, the value and its following values can't be calculated.

Exponential Tower
an
...
a3
a2
a1

The exponentiation is calculated from top to bottom, so an-1 to the power of an, then an-2 to the power of the previous result, and so on, until a1 to the power of ...

Formation sequence: ai =

Tower from m= to n=

Show each stepOnly show end result

Round to decimal places.

The results of the exponential tower are:

If the formation sequence is a number a and m=1, the exponential tower can be written in Knuth's up-arrow notation as a ↑↑ n.

Examples:

ai = 2: 2 ↑↑ 2 = 4; 2 ↑↑ 3 = 16 and 2 ↑↑ 4 = 65536. For the next value, the result will be so big that Infinity is shown. 2 ↑↑ 5 would have 19728 places.