Question: 3. Find the complete number between positive integers a and B (acb). Note: the so-called perfect number, the sum of all true factors (i.e. divisors

3. Find the complete number between positive integers a and B (acb). Note: the so-called perfect number, the sum of all true factors (i.e. divisors other than itself) is exactly equal to itself. For example: 6=1+2+3 28=1+2+4+7+14 496=1+2+4+8+16+31+62+124+248 8128=1+2+4+8+16+32+64+127+254+508+1016+2032+4064 Input: 10000 Output: 6 28 496 8128
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
