Project Euler 478(3)

http://projecteuler.net/index.php?section=problems&id=478

和の順序を変えてそれを速くしたら、57秒になった。
まだ速くなるけど、これでいいことにする。