2018-02-23 04:53:01 +00:00
|
|
|
require "./euler"
|
2018-02-21 23:07:31 +00:00
|
|
|
|
2018-02-25 03:32:39 +00:00
|
|
|
module Euler
|
|
|
|
module Problem003
|
|
|
|
extend self
|
|
|
|
|
|
|
|
def solution
|
2018-08-17 00:04:11 +00:00
|
|
|
Euler::Prime.trial_division(600851475143).max
|
2018-02-25 03:32:39 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|