# Double Superscript

I am trying to find a similar question but they all seem to suggest something completely different.

I want to create a superscript for a superscript. Essentially: 2^2^n

• ... $2^{2^{n}}$ ? – Zarko Feb 2 '17 at 1:15
• See also Double Subscript for Subsequences. That posting is, as the title implies, about double subscripts. Replacing the _ characters with ^ characters in the discussions, you could learn all you need to know about double superscripts as well. – Mico Feb 2 '17 at 7:33

## 1 Answer

A superscript of a superscript should be grouped. So, depending on what you're after exactly, you can do:

\documentclass{article}

\begin{document}

$2^{2^n}\ {2^2}^n$

\end{document}


The first example is 2 to the power (2^n); using a similar syntax, the styles used are \textstyle^{\scriptstyle^\scriptstyle}. The second example is (2^2) to the power n with the styles denoted by {\textstyle^\scriptstyle}^\scriptstyle.

• The second possibility given here is very unclear and should be equipped with explicit parentheses like $(2^2)^n$. – jknappen Feb 2 '17 at 11:19
• Do be careful - sometimes 2^{2^n} can be better than {2^2}^n. – Pro Q Feb 1 at 8:54