find abundant, perfect and deficient numbers up to 20000