~/ant$ grep -rn "begin{algorithm}"
factoring.tex:548:\begin{algorithm}[Factoring a Finite Separable Algebra]\label{alg:factorsep}
factoring.tex:608:\begin{algorithm}[Factoring a General Prime Ideal]\label{alg:genfac}
galrep.tex:193:\begin{algorithm}[Elliptic Curve Group Law]\label{alg:grouplaw}
standardize by using a psuedocode package for all algorithms.
See http://en.wikibooks.org/wiki/LaTeX/Algorithms#The_algorithm_environment
A quick grep shows there are 3 algorithms: