projecteuler.net is currently down; cannot check answer.