forked from: flash on 2010-5-15

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