2 solutions to Project Euler, one using Prime in mathn library, one iterates through hash of factors & occurrences