Perfect number, a positive integer that is equal to the sum of its proper divisors. The
smallest perfect number is 6, which is the sum of 1, 2, and 3. Other perfect numbers are 28, 496,
and 8,128.
The factors of 6 are 1, 2, 3 and 6.
1 + 2 + 3 = 6
The factors of 28 are 1, 2, 4, 7, 14 and 28.
1 + 2 + 4 + 7 + 14 = 28
The factors of 496 are 1, 2, 4, 8, 16, 31, 62, 124, 248 and 496.
1 + 2 + 4 + 8 + 16 + 31 + 62 + 124 + 248 = 496
The factors of 8128 are 1, 2, 4, 8, 16, 32, 64, 127, 254, 508, 1016, 2032, 4064 and 8128.
Sur cette page du site, vous pouvez voir la vidéo en ligne Write a program that finds a Perfect Number | Java | Sublime | Coding Tutorials | durée online en bonne qualité , qui a été Téléchargé par l'utilisateur Haider Nawaz 16 février 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 18 fois et il a aimé 3 téléspectateurs. Bon visionnage!