numtheory(deprecated)
lambda
Carmichael's lambda function
Calling Sequence
Parameters
Description
Examples
lambda(n)
n
-
integer
Important: The numtheory package has been deprecated. Use the superseding command NumberTheory[CarmichaelLambda] instead.
The size of the largest cyclic group generated by gimodn is given by lambda(n).
Carmichael's theorem states that aλ⁡n=1modn if gcd⁡a,n=1.
The command with(numtheory,lambda) allows the use of the abbreviated form of this command.
with⁡numtheory:
λ⁡13
12
λ⁡200
20
λ⁡−105
See Also
igcd
mod
NumberTheory[CarmichaelLambda]
numtheory(deprecated)[phi]
Download Help Document