Problem 4 solved inelegantly
Problem 6 made easy with Enum.reduce
Solved problem 7 via 6k +/- 1 <= sqrt(n) naive primality testing