some of the solutions given here are a bit on the over-complicated side; note that
you don't have to find the sum of the factors -- you just have to determine whether it's less than this weird value (13,131,313,450).
Night reader wrote:Is the sum of all factors of a positive integer m less than 13,131,313,450?
(1) m < 13131313450
it's easy to get a "No" answer -- just take any small number, for which the sum of factors will also be small.
to get a "yes" answer, just pick any
even number that's decently close to 13,131,313,450. then, as factors, you'll have (among many, many others) that number itself, and also
half that number; if your original number is close enough to 13,131,313,450, those two values alone will sum to more than that number.
for instance, if you take 10,000,000,000, then you have the two factors 10,000,000,000 and 5,000,000,000, whose sum is already more than enough.
insufficient.
(2) m > 13131313450
m is always a factor of itself, so, in these cases, that value alone is enough to figure out that the sum of factors is more than the reference number (since
m itself is more than the reference number).