ProjectEuler1 ref: http://qiita.com/items/1af84359e86a5d3ce9a1