On this pageProjects that use itRelated conceptsNeighbourhood in the knowledge graphProjects that use itInteractiveNumber theory and algebraNumber Theory ExplorerA Qt 6 / QML desktop app that runs number-theory algorithms step by step (GCD and Bezout coefficients, modular inverse and exponentiation, primality, sieves, Euler's phi, linear recurrences by matrix power, divisor counts, LCM sums), plus 23 standalone algorithm and competitive-programming programs with sample-I/O tests.C++ · QMLRelated conceptsEuclidean algorithmUsed together · 1 sharedComputes gcd(a, b) by repeated division; the extended version also finds Bezout coefficients.Euler's totient functionUsed together · 1 sharedphi(n) counts the integers from 1 to n that are coprime to n.Linear recurrencesUsed together · 1 sharedSequences such as Fibonacci defined by linear rules, computed quickly by matrix exponentiation.Modular arithmeticUsed together · 1 sharedArithmetic on remainders, including congruences, modular inverses and Fermat's little theorem.Modular exponentiationUsed together · 1 sharedComputes a^b mod m with O(log b) multiplications by repeated squaring.Primality testingUsed together · 1 sharedDeciding whether n is prime, by trial division or probabilistic tests such as Miller-Rabin.Prime sievesUsed together · 1 sharedThe sieve of Eratosthenes and its segmented variant for listing primes.Complex numbersSame domainNumbers a + bi and the geometry of the complex plane.Finite fieldsSame domainFields with finitely many elements, such as GF(2^8), the field used inside AES.Arbitrary-precision arithmeticSame domainInteger arithmetic on numbers larger than a machine word, as needed for RSA.Golden ratioSame domainphi = (1 + sqrt 5) / 2; its continued fraction [1; 1, 1, ...] makes it the hardest number to approximate by fractions.Neighbourhood in the knowledge graphArithmetic functionsArithmetic functionsArithmetic functionsNumber theory and algebraNumber theory and algebraNumber theory …Number Theory ExplorerNumber Theory ExplorerNumber Theory …Euclidean algorithmEuclidean algorithmEuclidean algo…Modular arithmeticModular arithmeticModular arithm…Modular exponentiationModular exponentiationModular expone…Prime sievesPrime sievesPrime sievesPrimality testingPrimality testingPrimality test…Euler's totient functionEuler's totient functionEuler's totien…Linear recurrencesLinear recurrencesLinear recurre…Cryptography in CCryptography in CCryptography i…Cryptography Performance AnalysisCryptography Performance …Cryptography P…Sorting Algorithms VisualizationSorting Algorithms Visual…Sorting Algori…ProjectsConceptsDomainsShow in graph →Number theory and algebraConceptConcept