Almost perfect number