• CarmichaelLambda[n] gives the Carmichael function , defined as the smallest integer such that for all relatively prime to .