User:Aravind V R/sandbox1/Number/Notes
Congruences
[edit]Chinese remainder theorem
[edit]Let [a−1]b denote the multiplicative inverse of a (mod b), that is, a [a−1]b ≡ 1 (mod b). With N = n1n2...nk, define Nj := N/nj for j = 1, ..., k. Then
satisfies the congrugences x ≡ ai (mod ni) for all i = 1, ..., k .
Fermat's little theorem
[edit]Fermat's little theorem states that if p is a prime number, then for any integer a, the number a p − a is an integer multiple of p. In the notation of modular arithmetic, this is expressed as
For example, if a = 2 and p = 7, 27 = 128, and 128 − 2 = 7 × 18 is an integer multiple of 7. If a is not divisible by p, Fermat's little theorem is equivalent to the statement that a p − 1 − 1 is an integer multiple of p, or in symbols
Carmichael number
[edit]Carmichael number is a composite number which satisfies the modular arithmetic congruence relation:
for all integers which are relatively prime to .
- Theorem (A. Korselt 1899): A positive composite integer is a Carmichael number if and only if is square-free, and for all prime divisors of , it is true that .
Hensel's lemma
[edit]Let be a polynomial with integer (or p-adic integer) coefficients, and let m,k be positive integers such that m ≤ k. If r is an integer such that
- and
then there exists an integer s such that
- and
Furthermore, this s is unique modulo pk+m, and can be computed explicitly as
- where
Arithmetic functions
[edit]Euler's totient function
[edit]Euler's totient function (or Euler's phi function), denoted as φ(n) or ϕ(n), is an arithmetic function that counts the positive integers less than or equal to n that are relatively prime to n. The function φ(n) is multiplicative.
Euler's product formula
[edit]It states
where the product is over the distinct prime numbers dividing n.
Möbius function
[edit]For any positive integer n, define μ(n) as the sum of the primitive n-th roots of unity. It has values in {−1, 0, 1} depending on the factorization of n into prime factors:
- μ(n) = 1 if n is a square-free positive integer with an even number of prime factors.
- μ(n) = −1 if n is a square-free positive integer with an odd number of prime factors.
- μ(n) = 0 if n has a squared prime factor.
Von Mangoldt function
[edit]The von Mangoldt function, denoted by Λ(n), is defined as
Chebyshev function
[edit]The Chebyshev function is either of two related functions. The first Chebyshev function ϑ(x) or θ(x) is given by
with the sum extending over all prime numbers p that are less than or equal to x.
The second Chebyshev function ψ(x) is defined similarly, with the sum extending over all prime powers not exceeding x:
where is the von Mangoldt function.
The second Chebyshev function can be seen to be related to the first by writing it as
where k is the unique integer such that pk ≤ x and x < pk+1.
Liouville function
[edit]The Liouville function, denoted by λ(n) and named after Joseph Liouville, is an important function in number theory.
If n is a positive integer, then λ(n) is defined as:
where Ω(n) is the number of prime factors of n.
Dirichlet convolution
[edit]If f and g are two arithmetic functions (i.e. functions from the positive integers to the complex numbers), one defines a new arithmetic function f ∗ g, the Dirichlet convolution of f and g, by
where the sum extends over all positive divisors d of n, or equivalently over all distinct pairs (a, b) of positive integers whose product is n.
Dirichlet inverse
[edit]Inverse exists if
Arithmetic function | Dirichlet inverse |
---|---|
Constant function equal to 1 | Möbius function μ |
Liouville's function λ | Absolute value of Möbius function |μ| |
Möbius inversion formula
[edit]The classic version states that if g and f are arithmetic functions satisfying
then
where μ is the Möbius function
In the language of Dirichlet convolutions, the first formula may be written as
where * denotes the Dirichlet convolution, and 1 is the constant function . The second formula is then written as
Quadratic residue
[edit]An integer q is called a quadratic residue modulo n if it is congruent to a perfect square modulo n; i.e., if there exists an integer x such that:
Otherwise, q is called a quadratic nonresidue modulo n.
Euler's criterion
[edit]Euler's criterion is a formula for determining whether an integer is a quadratic residue modulo a prime. Precisely, Let p be an odd prime and a an integer coprime to p. Then[1]
Euler's criterion can be concisely reformulated using the Legendre symbol:[2]
Legendre symbol
[edit]The Legendre symbol is a function of a and p defined as
Legendre's original definition was by means of the explicit formula
By Euler's criterion, which had been discovered earlier and was known to Legendre, these two definitions are equivalent.