Number Theoretic Functions

Euler phi, Carmichael, Moebius, and other number theoretic functions


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

dedekindEtaThe Dedekind eta function
thetaTheta series
numlib::g_adicG-adic representation of a nonnegative integer
harmonicHarmonic function
numlib::invphiInverse of the Euler phi function
numlib::LambdaVon Mangoldt's function
numlib::lambdaCarmichael function
numlib::moebiusMöbius function
numlib::phiEuler phi function