# How to remove page number for the page includes “algorithm pseudo-code”?

I want to remove page number of the page of algorithm pseudo-code. I used afterpage as explained in this answer as follows:

\afterpage{%
\begin{algorithm}
\begin{algorithmic}[1]
something here
\end{algorithmic
\end{algorithm}
}


However, it does not work.

Note: The page number is somewhere in the pseudo-code and so I want to remove the page number.

\afterpage{