
-----------------------------------
Prince
Thu Feb 12, 2004 10:33 am

perfect numbers...
-----------------------------------
i kno this is easy (mayb its jus my laziness) does sumone kno of a simple way to find perfect numbers?

-----------------------------------
Tony
Thu Feb 12, 2004 10:36 am


-----------------------------------
what's the definition of a perfect number?

-----------------------------------
Prince
Thu Feb 12, 2004 10:40 am


-----------------------------------
a number thats equal to the sum of its proper factors is a perfect number

-----------------------------------
Tony
Thu Feb 12, 2004 10:42 am


-----------------------------------
hmm... forloop factors and see if they make up a perfect number :lol:

-----------------------------------
Prince
Thu Feb 12, 2004 10:59 am


-----------------------------------
lol umm could u explain that a bit :?

-----------------------------------
Tony
Thu Feb 12, 2004 2:25 pm


-----------------------------------
well I'm not too sure on the "proper factors" part... but assuming that any number can be a proper factor and you'll looking at numbers up to 100 assuming each has 2 factors only.

for(i = 1; i