Solution for 108.
Push prime factor discovery into library.