Inverse Totient Function - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Number Theory : Inverse Totient Function

NumberTheory

  

InverseTotient

  

inverse of Euler's totient function

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

InverseTotient(m)

Parameters

m

-

positive integer

Description

• 

The InverseTotient function returns the inverse image of Euler's totient function.

• 

Given a positive integer m, InverseTotient(m) returns the set of integers n that satisfy the equation Totient(n) = m.

Examples

> 

with⁡NumberTheory:

> 

InverseTotient⁡1

1,2

(1)
> 

InverseTotient⁡8

15,16,20,24,30

(2)
> 

map⁡Totient,15,16,20,24,30

8

(3)

There are no numbers besides 1 and 2 with an odd totient.

> 

InverseTotient⁡3unionInverseTotient⁡2347

∅

(4)
> 

`union`⁡seq⁡InverseTotient⁡i,i=3..99,2

∅

(5)

The following command plots the points (m, n), where n is a member of InverseTotient(m), for m from 1 to 1000.

> 

plots:-pointplot⁡`union`⁡seq⁡map⁡n↦m,n,InverseTotient⁡m,m=1..1000,labels=m,InverseTotient(m),labeldirections=horizontal,vertical,color=Fuchsia,symbol=circle

Compatibility

• 

The NumberTheory[InverseTotient] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

NumberTheory

NumberTheory[Totient]