HOME

TheInfoList



OR:

In
number theory Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
, a branch of
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the Carmichael function of a
positive integer In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positiv ...
is the smallest positive integer such that :a^m \equiv 1 \pmod holds for every integer
coprime In number theory, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equiv ...
to . In algebraic terms, is the
exponent In mathematics, exponentiation, denoted , is an operation involving two numbers: the ''base'', , and the ''exponent'' or ''power'', . When is a positive integer, exponentiation corresponds to repeated multiplication of the base: that is, i ...
of the multiplicative group of integers modulo . As this is a finite abelian group, there must exist an element whose
order Order, ORDER or Orders may refer to: * A socio-political or established or existing order, e.g. World order, Ancien Regime, Pax Britannica * Categorization, the process in which ideas and objects are recognized, differentiated, and understood ...
equals the exponent, . Such an element is called a primitive -root modulo . The Carmichael function is named after the American mathematician
Robert Carmichael Robert Daniel Carmichael (March 1, 1879 – May 2, 1967) was an American mathematician. Biography Carmichael was born in Goodwater, Alabama. He attended Lineville College, briefly, and he earned his bachelor's degree in 1898, while he was s ...
who defined it in 1910. It is also known as Carmichael's λ function, the reduced totient function, and the least universal exponent function. The order of the multiplicative group of integers modulo is , where is
Euler's totient function In number theory, Euler's totient function counts the positive integers up to a given integer that are relatively prime to . It is written using the Greek letter phi as \varphi(n) or \phi(n), and may also be called Euler's phi function. In ot ...
. Since the order of an element of a finite group divides the order of the group, divides . The following table compares the first 36 values of and (in bold if they are different; the values of such that they are different are listed in ).


Numerical examples

* . The set of numbers less than and coprime to 5 is . Hence Euler's totient function has value and the value of Carmichael's function, , must be a divisor of 4. The divisor 1 does not satisfy the definition of Carmichael's function since a^1 \not\equiv 1\pmod except for a\equiv1\pmod. Neither does 2 since 2^2 \equiv 3^2 \equiv 4 \not\equiv 1\pmod. Hence . Indeed, 1^4\equiv 2^4\equiv 3^4\equiv 4^4\equiv1\pmod. Both 2 and 3 are primitive -roots modulo 5 and also primitive roots modulo 5. * . The set of numbers less than and coprime to 8 is . Hence and must be a divisor of 4. In fact since 1^2\equiv 3^2\equiv 5^2\equiv 7^2\equiv1\pmod. The primitive -roots modulo 8 are 3, 5, and 7. There are no primitive roots modulo 8.


Recurrence for

The Carmichael lambda function of a prime power can be expressed in terms of the Euler totient. Any number that is not 1 or a prime power can be written uniquely as the product of distinct prime powers, in which case of the product is the
least common multiple In arithmetic and number theory, the least common multiple (LCM), lowest common multiple, or smallest common multiple (SCM) of two integers ''a'' and ''b'', usually denoted by , is the smallest positive integer that is divisible by both ''a'' and ...
of the of the prime power factors. Specifically, is given by the recurrence :\lambda(n) = \begin \varphi(n) & \textn\text\\ \tfrac12\varphi(n) & \textn=2^r,\ r\ge3,\\ \operatorname\Bigl(\lambda(n_1),\lambda(n_2),\ldots,\lambda(n_k)\Bigr) & \textn=n_1n_2\ldots n_k\textn_1,n_2,\ldots,n_k\text \end Euler's totient for a prime power, that is, a number with prime and , is given by :\varphi(p^r) p^(p-1).


Carmichael's theorems

Carmichael proved two theorems that, together, establish that if is considered as defined by the recurrence of the previous section, then it satisfies the property stated in the introduction, namely that it is the smallest positive integer such that a^m\equiv 1\pmod for all relatively prime to . This implies that the order of every element of the multiplicative group of integers modulo divides . Carmichael calls an element for which a^ is the least power of congruent to 1 (mod ) a ''primitive λ-root modulo n''. (This is not to be confused with a primitive root modulo , which Carmichael sometimes refers to as a primitive \varphi-root modulo .) If is one of the primitive -roots guaranteed by the theorem, then g^m\equiv1\pmod has no positive integer solutions less than , showing that there is no positive such that a^m\equiv 1\pmod for all relatively prime to . The second statement of Theorem 2 does not imply that all primitive -roots modulo are congruent to powers of a single root . For example, if , then while \varphi(n)=8 and \varphi(\lambda(n))=2. There are four primitive -roots modulo 15, namely 2, 7, 8, and 13 as 1\equiv2^4\equiv8^4\equiv7^4\equiv13^4. The roots 2 and 8 are congruent to powers of each other and the roots 7 and 13 are congruent to powers of each other, but neither 7 nor 13 is congruent to a power of 2 or 8 and vice versa. The other four elements of the multiplicative group modulo 15, namely 1, 4 (which satisfies 4\equiv2^2\equiv8^2\equiv7^2\equiv13^2), 11, and 14, are not primitive -roots modulo 15. For a contrasting example, if , then \lambda(n)=\varphi(n)=6 and \varphi(\lambda(n))=2. There are two primitive -roots modulo 9, namely 2 and 5, each of which is congruent to the fifth power of the other. They are also both primitive \varphi-roots modulo 9.


Properties of the Carmichael function

In this section, an
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
n is divisible by a nonzero integer m if there exists an integer k such that n = km. This is written as :m \mid n.


A consequence of minimality of

Suppose for all numbers coprime with . Then . Proof: If with , then :a^r = 1^k \cdot a^r \equiv \left(a^\right)^k\cdot a^r = a^ = a^m \equiv 1\pmod for all numbers coprime with . It follows that since and is the minimal positive exponent for which the congruence holds for all coprime with .


divides

This follows from elementary
group theory In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ( ...
, because the exponent of any
finite group In abstract algebra, a finite group is a group whose underlying set is finite. Finite groups often arise when considering symmetry of mathematical or physical objects, when those objects admit just a finite number of structure-preserving tra ...
must divide the order of the group. is the exponent of the multiplicative group of integers modulo while is the order of that group. In particular, the two must be equal in the cases where the multiplicative group is cyclic due to the existence of a primitive root, which is the case for odd prime powers. We can thus view Carmichael's theorem as a sharpening of
Euler's theorem In number theory, Euler's theorem (also known as the Fermat–Euler theorem or Euler's totient theorem) states that, if and are coprime positive integers, then a^ is congruent to 1 modulo , where \varphi denotes Euler's totient function; that ...
.


Divisibility

: a\,, \,b \Rightarrow \lambda(a)\,, \,\lambda(b) Proof. By definition, for any integer k with \gcd(k,b) = 1 (and thus also \gcd(k,a) = 1), we have that b \,, \, (k^ - 1) , and therefore a \,, \, (k^ - 1). This establishes that k^\equiv1\pmod for all relatively prime to . By the consequence of minimality proved above, we have \lambda(a)\,, \,\lambda(b) .


Composition

For all positive integers and it holds that :\lambda(\mathrm(a,b)) = \mathrm(\lambda(a), \lambda(b)). This is an immediate consequence of the recurrence for the Carmichael function.


Exponential cycle length

If r_=\max_i\ is the biggest exponent in the prime factorization n= p_1^p_2^ \cdots p_^ of , then for all (including those not coprime to ) and all , :a^r \equiv a^ \pmod n. In particular, for
square-free {{no footnotes, date=December 2015 In mathematics, a square-free element is an element ''r'' of a unique factorization domain ''R'' that is not divisible by a non-trivial square. This means that every ''s'' such that s^2\mid r is a unit of ''R''. ...
(), for all we have :a \equiv a^ \pmod n.


Average value

For any :Sándor & Crstici (2004) p.194 :\frac \sum_ \lambda (i) = \frac e^ (called Erdős approximation in the following) with the constant :B := e^ \prod_ \left(\right) \approx 0.34537 and , the
Euler–Mascheroni constant Euler's constant (sometimes called the Euler–Mascheroni constant) is a mathematical constant, usually denoted by the lowercase Greek letter gamma (), defined as the limiting difference between the harmonic series and the natural logarith ...
. The following table gives some overview over the first values of the function, for both, the exact average and its Erdős-approximation. Additionally given is some overview over the more easily accessible with * . There, the table entry in row number 26 at column * → 60.49 indicates that 60.49% (≈ ) of the integers have meaning that the majority of the values is exponential in the length of the input , namely :\left(2^\frac45\right)^l = 2^\frac = \left(2^l\right)^\frac45 = n^\frac45. :


Prevailing interval

For all numbers and all but positive integers (a "prevailing" majority): :\lambda(n) = \frac with the constant :A := -1 + \sum_ \frac \approx 0.2269688


Lower bounds

For any sufficiently large number and for any , there are at most :N\exp\left(-0.69(\Delta\ln\Delta)^\frac13\right) positive integers such that .


Minimal order

For any sequence of positive integers, any constant , and any sufficiently large :Theorem 1 in Erdős (1991)Sándor & Crstici (2004) p.193 :\lambda(n_i) > \left(\ln n_i\right)^.


Small values

For a constant and any sufficiently large positive , there exists an integer such that :\lambda(n)<\left(\ln A\right)^. Moreover, is of the form :n=\mathop_q for some square-free integer .


Image of the function

The set of values of the Carmichael function has counting function :\frac , where :\eta=1-\frac \approx 0.08607


Use in cryptography

The Carmichael function is important in
cryptography Cryptography, or cryptology (from "hidden, secret"; and ''graphein'', "to write", or ''-logy, -logia'', "study", respectively), is the practice and study of techniques for secure communication in the presence of Adversary (cryptography), ...
due to its use in the RSA encryption algorithm.


Proof of Theorem 1

For , a prime, Theorem 1 is equivalent to Fermat's little theorem: :a^\equiv1\pmod\qquad\texta\textp. For prime powers , , if :a^=1+hp^r holds for some integer , then raising both sides to the power gives :a^=1+h'p^ for some other integer h'. By induction it follows that a^\equiv1\pmod for all relatively prime to and hence to . This establishes the theorem for or any odd prime power.


Sharpening the result for higher powers of two

For coprime to (powers of) 2 we have for some integer . Then, :a^2 = 1+4h_2(h_2+1) = 1+8\binom=:1+8h_3, where h_3 is an integer. With , this is written :a^ = 1+2^r h_r. Squaring both sides gives :a^=\left(1+2^r h_r\right)^2=1+2^\left(h_r+2^h_r^2\right)=:1+2^h_, where h_ is an integer. It follows by induction that :a^=a^\equiv 1\pmod for all r\ge3 and all coprime to 2^r.Carmichael (1914) pp.38–39


Integers with multiple prime factors

By the unique factorization theorem, any can be written in a unique way as : n= p_1^p_2^ \cdots p_^ where are primes and are positive integers. The results for prime powers establish that, for 1\le j\le k, :a^\equiv1 \pmod\qquad\texta\textn\textp_i^. From this it follows that :a^\equiv1 \pmod\qquad\texta\textn, where, as given by the recurrence, :\lambda(n) = \operatorname\Bigl(\lambda\left(p_1^\right),\lambda\left(p_2^\right),\ldots,\lambda\left(p_k^\right)\Bigr). From the
Chinese remainder theorem In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer ''n'' by several integers, then one can determine uniquely the remainder of the division of ''n'' by the product of thes ...
one concludes that :a^\equiv1 \pmod\qquad\texta\textn.


See also

*
Carmichael number In number theory, a Carmichael number is a composite number which in modular arithmetic satisfies the congruence relation: : b^n\equiv b\pmod for all integers . The relation may also be expressed in the form: : b^\equiv 1\pmod for all integers b ...


Notes


References

* * * * {{Totient Modular arithmetic Functions and mappings