Removed some dead code on problem 6.
Got problem 7 figured out, with my weird little sieve.
Did problem 8.  Not readable.
Solved problem 9.
Well, that's not going to finish before the heat death of the universe.
Problem number 10 is good to go.