Project Euler 318

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


これもサービス問題。
こちらのほうが自分で計算しなくてすむ分簡単。