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::Lambda

Von Mangoldt's 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::Lambda(m)

Description

numlib::Lambda(m) returns the value of von Mangoldt's function at m.

It is an error if m is a number but not a natural number.

If m is not a number, numlib::Lambda returns the unevaluated function call.

Examples

Example 1

numlib::Lambda takes on non-zero values only for prime powers:

numlib::Lambda(49)

numlib::Lambda(48)

Example 2

numlib::Lambda returns the function call if its argument is not a number:

numlib::Lambda(3+n^4)

Parameters

m

Arithmetical expression

Return Values

numlib::Lambda returns an arithmetical expression

Algorithms

The function value of Lambda at m is defined to be logp if m = pn for some prime number p and some positive integer n, and to be zero for positive integers that are not prime powers.

See Also

MuPAD Functions

Was this topic helpful?