Fine the Perfect Number's of math - Java