Skip to main content

วิธีการคำนวณ Perfect Number Checker

learn.whatIsHeading

A perfect number equals the sum of its proper divisors (excluding itself). The first perfect numbers are 6, 28, 496, 8128. All known perfect numbers are even; it is unknown whether odd perfect numbers exist.

สูตร

n is perfect if σ(n) = 2n, where σ(n) is sum of all divisors
n
the number being tested
σ(n)
sum of all divisors of n (including n) (integer)

คำแนะนำทีละขั้นตอน

  1. 1Sum all divisors except n itself
  2. 26: 1+2+3 = 6 ✓
  3. 328: 1+2+4+7+14 = 28 ✓
  4. 4Abundant: divisor sum > n; Deficient: divisor sum < n

ตัวอย่างที่มีคำตอบ

อินพุต
n = 28
ผลลัพธ์
Divisors 1,2,4,7,14 — Sum = 28 (Perfect!)
อินพุต
n = 12
ผลลัพธ์
Divisors 1,2,3,4,6 — Sum = 16 > 12 (Abundant)

คำถามที่พบบ่อย

What is the smallest perfect number?

6: its divisors are 1, 2, 3, 6, and 1+2+3 = 6 (sum of proper divisors equals n).

Is 28 a perfect number?

Yes: divisors are 1, 2, 4, 7, 14, 28, and 1+2+4+7+14 = 28.

How many perfect numbers are known?

51 perfect numbers are known (as of 2024). All known ones are even and quite rare.

พร้อมที่จะคำนวณแล้วหรือยัง? ลองใช้เครื่องคิดเลข Perfect Number Checker ฟรี

ลองด้วยตัวคุณเอง→

การตั้งค่า