Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

numlib::invphi

Inverse of the Euler phi function

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

numlib::invphi(n)

Description

numlib::invphi(n) computes all positive integers i with φ(i) = n.

Examples

Example 1

We compute all numbers i with φ(i) = 500:

s := numlib::invphi(500)

Test for correctness:

map(s, numlib::phi)

Parameters

n

A positive integer

Return Values

List of positive integer numbers.

See Also

MuPAD Functions

Was this topic helpful?