Skip to content

Chinese Remainder Theorem algorithm #1008

@jxu

Description

@jxu

The article does not currently give an algorithm for finding solutions to the CRT problem. (From wikipedia, the attribution to Sun Zi is incomplete because he provides neither a proof nor algorithm. That article credits Aryabhata)
Also worth mentioning that factoring a number into prime powers is a good way to get pairwise coprime moduli: $n = p_1^{e_1} \cdots p_k^{e_k}$ For example, results mod 10^16 can be computed mod 2^16 and 5^16.

I am still investigating the full algorithm which I have never understood fully but like the extended Euclidean algorithm is based on Bezout's identity (which is quite fundamental for modular arithmetic)

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy