newRPL - build 1255 released! [updated to 1299]
08-03-2018, 02:15 PM (This post was last modified: 08-03-2018 02:16 PM by Claudio L..)
Post: #251
 Claudio L. Senior Member Posts: 1,887 Joined: Dec 2013
RE: newRPL - build 1089 released! [update:build 1089]
(08-03-2018 03:39 AM)The Shadow Wrote:  I've been mulling over FACTORS some more, and I think the special cases of 1, -1, and 0 should have this form:

1 (or -1 or 0)
{ 1 }
{ 0 }

My reasoning is as follows: 1 is *not* a prime factor, and hence should contribute nothing to the sum of prime factors. By having the multiplicity be 1, many equations are messed up - the sum-of-divisors function, to name just one.

While you are of course correct, I don't think you'll get much information from the sum of divisors of 1, -1 or 0.

Check out build 1093 (I updated it), it works now per your previous post. The fractional numbers is not as good as it could be, because of course a real that cannot be represented exactly like 1/3 converts to a fraction 3333333333333.../1000000000000... instead of 1/3. I guess I could improve it by calling ->Q before and then factoring numerator and denominator independently.

Regarding the polynomials with negative exponents, I don't know how to handle this case, can you elaborate?

PS: Finally, the forum quoting function is back again!
 « Next Oldest | Next Newest »