AoPSWiki
Want to learn how to tackle those tough AMC/AIME/Olympiad algebra problems? Check out Art of Problem Solving's NEW Intermediate Algebra by Richard Rusczyk and Mathew Crawford. Over 1600 problems!
Personal tools

Carmichael function

From AoPSWiki

There are two different functions called the Carmichael function. Both are similar to Euler's totient function .

Contents

First Definition

The Carmichael function is defined at to be the smallest positive integer such that a^{\lambda(n)} \equiv 1\pmod {n} for all positive integers relatively prime to . The order of always divides .

This function is also known as the reduced totient function or the least universal exponent function.


Suppose n=p_1^{\alpha_1}\cdot p_2^{\alpha_2}\cdots p_k^{\alpha_k}. We have

\lambda(n) = \begin{cases}  \phi(n) &    \mathrm {for}\ n=p^{\alpha},\ \mathrm {with}\ p=2\ \mathrm {and}\ \alpha\le 2,\ \mathrm {or}\ p\ge 3\\  \frac{1}{2}\phi(n) &    \mathrm {for}\ n=2^{\alpha}\ \mathrm {and}\ \alpha\ge 3\\  \mathrm{lcm} (\lambda(p_1^{\alpha_1}), \lambda(p_2^{\alpha_2}), \ldots, \lambda(p_k^{\alpha_k})) &     \mathrm{for}\ \mathrm{all}\ n.\end{cases}

Examples

This section is incomplete. You can help us out by completing it.

Second Definition

The second definition of the Carmichael function is the least common multiples of all the factors of . It is written as . However, in the case , we take as a factor instead of .

Examples

This section is incomplete. You can help us out by completing it.

See also

The Art of Problem Solving Bookstore now offers two titles from the creator of Math Olympiads in the Elementary and Middle Schools. Click here and here to check them out.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us