The enumerate environment I use is as follows:
\begin{enumerate}[label={\bfseries{Problem }\arabic*}]
\item\mbox{}
\begin{enumerate}[label=(\alph*)]
\item The text of the problem
\begin{eqnarray}
f(0)&=&0\enspace,\nonumber\\
f(n+1)&=&f(n)+1\label{eq_label}
\end{eqnarray}
\end{enumerate}
\end{enumerate}
I hope the equation number for f(n+1)=f(n)+1 is displayed as the normal (1). But the actual label displayed is
(Problem 1.1)
So, what should I do for the equation f(n+1)=f(n)+1 to have a normal label (1) instead of above, i.e., to remove the item text (as well as its format) in the label? Of course, I also hope the subsequent citation ~\eqref{eq_label} can also display (1) as expected. Thank you.
eqnarray, you might want to take a look as eqnarray vs align and at this article that summarizes, why to avoideqnarray– leandriis Mar 05 '21 at 19:47\bfseriesdoesn't take an argument, so it should be{\bfseries Problem}, or\textbf{Problem}. – Teepeemm Mar 05 '21 at 19:59