Skip to content

factor produces erroneous results #1556

@nicoonoclaste

Description

@nicoonoclaste

@tdulcet reported in #1456 that factor produces incorrect results for some composite numbers:

$ factor 10425511
10425511: 2441 4271
$ uu-factor 10425511
10425511: 10425511

@tdulcet Could you provide the diff? Trying to run this causes my laptop to keel over:

diff <(seq 2 $(( 10 ** 8 )) | factor) <(seq 2 $(( 10 ** 8 )) | uu-factor)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions