Project Euler 356

未解決問題を解こうシリーズ第3弾。

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

235着。