up previous next
InvTotient    --    Inverse totient function: preimages of Euler totient


Syntax
InvTotient(N: INT): LIST of INT

Description
Return all preimages of N via the EulerTotient function. Error if N is not positive. Large values of N may trigger an argument too large error.

Example
/**/  InvTotient(48);
[65,  104,  105,  112,  130,  140,  144,  156,  168,  180,  210]
/**/  InvTotient(50);
[]

See Also