Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (3 sloc) 105 Bytes
NUMBER = (ARGV[0] || 600_851_475_143).to_i
require 'prime'
puts Prime.prime_division(NUMBER).last.first