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 gcda,n=1.
The command with(numtheory,lambda) allows the use of the abbreviated form of this command.
withnumtheory:
λ13
12
λ200
20
λ−105
See Also
igcd
mod
NumberTheory[CarmichaelLambda]
numtheory(deprecated)[phi]
Download Help Document