Solution for 135.
Faster calculation for 135.
Use O'Neill sieve; naive won't be fast enough for 136.
Simplify / overhaul / improve 1-9.
Also new solution for 8.
Cleanup for 10, attoparsec for 11.
More cleanup, long strings get their own constants.
Replace allFactors with allDivisors, which uses primeFactors.
Slightly slower for 21 but a speedup otherwise.
Further cleanup.
- Move "work" into separate functions that accept constants.
- Move matrix parsing into Euler library, use it in 11 and 18.
Cleanup 18 and 19, use readMatrix in 67.
Also, ignore trailing newlines in readMatrix.
Replace loadWordFile with attoparsec readWords.
- Suppress do-statement compiler warning
- Cleanup 20 thru 22.
Cleanup on 23-29, move Fibonacci generator into library.