problem 12, fermat's factoriazation, incomplete