The biggest problem was the number of factors with which he had to deal.
The amount of factors he was dealing with was his largest puzzle.