Skip to main content

14 docs tagged with "number theory"

View all tags

Counting Divisors

An algorithm to compute the total number of divisors of a given integer n.

Discrete Logarithm

An overview of the Discrete Logarithm problem and its applications in cryptography.

Fermat's Little Theorem

A comprehensive guide to calculating the modular multiplicative inverse using Fermat's Little Theorem.

GCD Algorithm

A detailed guide to understanding and implementing the GCD (Greatest Common Divisor) Algorithm in Number Theory.

LCM Algorithm

A detailed guide to understanding and implementing the LCM (Least Common Multiple) Algorithm in Number Theory.

Modular Arithmetic

Modular arithmetic is a fundamental concept in mathematics, essential for cryptography and number theory.

Modular Arithmetic

A detailed guide to understanding and implementing the Modular Arithmetic in Number Theory.

Modular Exponentiation

A comprehensive guide on Modular Exponentiation for fast computation of large powers in modular arithmetic.

Modular Exponentiation Algorithm

Modular Exponentiation is an algorithm used to efficiently compute large powers modulo a number, using a technique called exponentiation by squaring.

Sieve of Eratosthenes

The Sieve of Eratosthenes is an efficient algorithm to find all prime numbers up to a given limit.

Sieve of Eratosthenes

A complete guide to understanding and implementing the Sieve of Eratosthenes for finding prime numbers.