Skip to content

Add N-1/N+1 primality testing and P-1/P+1 integer factoring to the integer factorization calculator #27

@xayahrainie4793

Description

@xayahrainie4793

Currently, for the integer factorization calculator, "Prime" (primality testing) only uses the Baillie-PSW probable primality testing (a probable primality testing, i.e. they might be pseudoprimes) and the ECPP primality testing, and "Factor" (integer factoring) only uses the trial division and the algebraic factorization (e.g. factor the number 25*36^166-1 to (5*6^166-1) * (5*6^166+1), and continue to factor the 118-digit composite cofactor (5*6^166-1)/1052921468429 and the 130-digit composite cofactor 5*6^166+1) and the ECM integer factoring, I think that "Prime" (primality testing) can also use the N-1/N+1 primality testing if N-1 or/and N+1 can be >= 1/3 factored (where N is the given number), and the "Factor" (integer factoring) can also use the P-1/P+1 integer factoring if P-1 or/and P+1 is smooth (where P is the prime factor of the given number).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions