Define properly a mathchar for the reverse exclamation mark; for instance
\DeclareMathSymbol{\revexcl}{\mathclose}{operators}{'074}
and use
$n\revexcl$
which will also change size in superscripts and subscripts.
If you want to be able to input !`
, it's possible with some tricks.
\documentclass{article}
\DeclareMathSymbol{\revexcl}{\mathclose}{operators}{'074}
\DeclareMathSymbol{\excl}{\mathclose}{operators}{'041}
\makeatletter
\begingroup\lccode`~=`! \lowercase{\endgroup
\def~}{\@ifnextchar`{\revexcl\@gobble}{\excl}}
\mathcode`!="8000
\makeatother
\begin{document}
$n!$
$n!`$
$A_{n!}$
$A_{n!`}$
\end{document}