Team 'Were not Cheaters!' Here is the solution we arrived at. Solution 1 require 'prime' a = 600851475143.prime_division puts a