Carmichael function available in PARI / GP?

389 Views Asked by At

Is the Carmichael function $\lambda(n)$ available in PARI / GP or do I have to program it ?

I know the command znorder, but this does not seem to be enough to calculate the carmichael function.

I have programmed the function, but it would nevertheless be nice to know, if there is an easier way to calculate $\lambda(n)$.