Chapter 3 Perfect and not so perfect numbers