Bug #1733
FactorINT: funny order
Description
I had expected small prime factors to appear in increasing order...
/**/ FactorINT(1349305); record[RemainingFactor := 1, factors := [5, 641, 421], multiplicities := [1, 1, 1]]
History
#1 Updated by John Abbott 4 days ago
- Status changed from New to Resolved
- Assignee set to John Abbott
- % Done changed from 0 to 60
I have adopted the simple solution of changing the documentation: previously it said nothing about the order of the factors, now it says that they may not be in increasing order.
If someone really wants the factors in increasing order, we could sort them... [not sure it is worth it]