I want my counter to look like this: 
\setcounter{equation}{3^a}
%and
\setcounter{equation}{$3^a$}
%doesnt work
I want my counter to look like this: 
\setcounter{equation}{3^a}
%and
\setcounter{equation}{$3^a$}
%doesnt work
----> set equation counter as three to the power "a".
\documentclass{article}
\usepackage{mathtools}
\setcounter{equation}{2}\renewcommand{\theequation}{\arabic{equation}$^{\textup a}$}
\begin{document}
\begin{equation}
\Delta=b^2-4ac
\end{equation}
\end{document}
\tag{$\thesection^{\mathrm{a}}$}(untested) – daleif Jan 06 '23 at 12:03\textsuperscript. – John Kormylo Jan 06 '23 at 15:18