modified:   prob_3.rb
Due to the change of the API Integer::primeFactors