This is a improved and combines solution of the already existing answers.
Werner’s answer can easily modified to make the new \theequation dependent on the old own by using its definition in
\expandafter\def\expandafter\theequation\expandafter{\theequation*}
Though it would be doable to strip the * in another redefinition of \theequation it is easier to just use the original definition that is stored with \let.
I also have added local variants \stareq and \nostareq that add or remove the * respectively.
Another solution, more along the lines of the OP’s answer is to used mathtools’ \newtagform and the switch \usetagform (internally it does basically the same with \maketag@@@ but provides a nicer interface).
These tagform-changing solutions have the disadvantage of having to repeat ( and ) (which may be changed according to a different style).
The \stareq variant will still work, the \nostareq unfortunately won’t.
Code
\documentclass{article}
\usepackage{mathtools}
\let\origTheequation\theequation % Solution 1
\newtagform{starred}{(}{*)} % Solution 2
\newcommand{\eqspecialnum}{% Switch to starred version
\let\origTheequation\theequation % Solution 1
\expandafter\def\expandafter\theequation\expandafter{\theequation*}% Solution 1
% \usetagform{starred}% Solution 2
}
\newcommand{\eqnormalnum}{% Switch to normal version
\let\theequation\origTheequation % Solution 1
% \usetagform{default}% Solution 2
}
\newcommand*{\stareq}{\stepcounter{equation}\tag{\theequation*}} % Solution 1 and 2
\newcommand*{\nostareq}{\stepcounter{equation}\tag{\origTheequation}} % Solution 1 only
\begin{document}
\begin{equation} f(x)=ax^2+bx+c \end{equation}
See \eqref{eqn:3} and \eqref{eqn:4}.
\begin{equation} f(x)=ax^2+bx+c \end{equation}
Switch to special numbering: \eqspecialnum % Switch to special numbering.
\begin{align}
f(x) & =ax^2+bx+c \label{eqn:3} \\
f(x) & =ax^2+bx+c \label{eqn:4}
\end{align}
\begin{equation} f(x)=ax^2+bx+c \end{equation}
Switch back to normal: \eqnormalnum
\begin{equation} f(x)=ax^2+bx+c \end{equation}
\begin{equation} f(x)=ax^2+bx+c \stareq \end{equation}
\begin{equation} f(x)=ax^2+bx+c \end{equation}
Switch to special numbering: \eqspecialnum % Switch to special numbering.
\begin{align}
f(x) & =ax^2+bx+c \\
f(x) & =ax^2+bx+c \nostareq
\end{align}
\begin{equation} f(x)=ax^2+bx+c \end{equation}
Switch back to normal: \eqnormalnum
\end{document}
Output
