Python Value Does Not Decrease Meaning Math Prime Factorization