2009-01-15から1日間の記事一覧

Rubyで最小公倍数を求める 〜Rubyでオイラープロジェクトを解こう!Problem5

Problem 5 - Project Eulerより 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest number that is evenly divisible by all of the numbers from 1 to 20? 2520は1から10…