write a Java program to find a Perfect number: (A number is called Perfect if it is equal to the sum factors other than the number itself.)
Example: 6 = 1 + 2 + 3
Answers
Answered by
1
Answer:
1 + 2 + 3 = 6 = Perfect Number.
Here are a few more examples of perfect numbers:
Perfect Number
As you can see, these are regarded as even perfect numbers. An even perfect number is a perfect number that is even, i.e., an even number n whose sum of divisors (including n itself) equals n.
All known perfect numbers are even. Ochem and Rao (2012) have demonstrated that any odd perfect number must be larger than 10^1500
Answered by
1
java programs
pulic static voi main string arjsjjsks
Similar questions