Project Euler: Problem 3 in PowerShell

Generating prime factors is another simple algorithm. We divide off all of the 2’s, then we take off the 3’s, but from there we skip two instead of one as we already pulled out all of the possible even factors.