A magic number is defined as a positive integer which is equal to the sum of its own factors (except itself).
For case, 6 is a magic number because its factors (other than 6 itself) are 1, 2, and 3, and these factors sum up to 6.
Question - Write a program that, for any upper limit, computes all magic numbers less than that limit.
For the purposes of this problem, suppose that Java variables can store numbers of any size.