【Project EulerにRubyで挑戦シリーズ】問14:Longest Collatz sequence

今回の問題 Longest Collatz sequence The following iterative sequence is defined for the set of positive integers: n […]

続きを読む

【Project EulerにRubyで挑戦シリーズ】問13:Large sum

今回の問題 Large sum Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 以下の50桁 […]

続きを読む

【Project EulerにRubyで挑戦シリーズ】問12:Highly divisible triangular number

今回の問題 Highly divisible triangular number The sequence of triangle numbers is generated by adding the natural n […]

続きを読む

【Project EulerにRubyで挑戦シリーズ】問11:Largest product in a grid

今回の問題 Largest product in a grid In the 20×20 grid below, four numbers along a diagonal line have been marked i […]

続きを読む

【Project EulerにRubyで挑戦シリーズ】問10:Summation of primes

今回の問題 Summation of primes The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes […]

続きを読む

【Project EulerにRubyで挑戦シリーズ】問9:Special Pythagorean triplet

今回の問題 Special Pythagorean triplet A Pythagorean triplet is a set of three natural numbers, a < b < c, fo […]

続きを読む

【Project EulerにRubyで挑戦シリーズ】問8:Largest product in a series

今回の問題 Largest product in a series The four adjacent digits in the 1000-digit number that have the greatest pro […]

続きを読む

【パーフェクトRuby on Rails】2章の気づき

-2018.10.7 -書籍
-, ,

スキマ時間を見つけてはパーフェクトRuby on Railsを読みながら写経しています。 読了までの道はまだありますが読み終えた章ごとに気づきがありそうなので 定期的にメモ用にもアウトプットして行こうと思います。 2章の […]

続きを読む

【Project EulerにRubyで挑戦シリーズ】問7:10001st prime

今回の問題 10001st prime By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th pr […]

続きを読む

【Project EulerにRubyで挑戦シリーズ】問6:Sum square difference

今回の問題 Sum square difference The sum of the squares of the first ten natural numbers is, 1**2 + 2**2 + … […]

続きを読む

Scroll Up