(i) Factors of 18: 1, 2, 3, 6, 9, 18.
1+2+3+6+9+18=39
Twice 18 is 2×18=36. Since 39=36, 18 is not a perfect number.
(ii) Find the factors of 496 in pairs: 1×496, 2×248, 4×124, 8×62, 16×31. So the factors are 1, 2, 4, 8, 16, 31, 62, 124, 248, 496.
1+2+4+8+16+31+62+124+248+496=992
Twice 496 is 2×496=992. The sum equals twice the number, so 496 is a perfect number.