I'd like to declare the backtick symbol ` to be the math operation power ^, so that by writing
\documentclass{article}
\usepackage{amsmath}
% \DeclareMathSymbol{`}{\mathbin}{symbols}{^}
\begin{document}
$3`2$
\end{document}
I was thinking to use \DeclareMathSymbol{<symbol>}{<type>}{<sym-font>}{<slot>} but I'm not sure there is a slot code for ^ since it is an operation rather than a symbol.
I'd like to avoid using \newcommand because otherwise I will have to write 3\`2 in order to get the power.
PAINLESS SOLUTION
Install the lightweight program autohotkey and create a script with the following code
NumLock::
send {^}
return
once run, you can print the caret symbol ^ by pressing the Num Lock key in the numpad.
You can change NumLock to whatever you want, check the list of all keys and the list of all hotkeys, for example
MButton:: middle/wheel mouse button
^p:: ctrl+p
+p:: shift+p
F2:: F2


\documentclass{article} \let\oldbacktick\\catcode``=\active \protected\def`{\ifmmode\expandafter^\else\expandafter\oldbacktick\fi} \begin{document} $3`2$ a`b \end{document}` (see here). – Aug 20 '19 at 13:24^, i solved with a small autohotkey script which prints^when i press NumLock – sound wave Aug 20 '19 at 14:26