MATLAB assignment
A positive integer is called a perfect number if it is equal to the sum of all of its positive divisiors, excluding itself. For example, 6 is the first perfect number because 6-3 + 2 + 1. The next is 28 = 14 + 7
OR
OR
MATLAB assignment
A positive integer is called a perfect number if it is equal to the sum of all of its positive divisiors, excluding itself. For example, 6 is the first perfect number because 6-3 + 2 + 1. The next is 28 = 14 + 7