Project

General

Profile

Bug #1733

FactorINT: funny order

Added by John Abbott about 1 year ago. Updated 4 days ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Improving
Target version:
Start date:
09 Apr 2023
Due date:
% Done:

60%

Estimated time:
Spent time:

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]

Also available in: Atom PDF