Solved #48.  Brute force was much faster than I expected.
Solved #38
Solved #81