numlib::moebius
-- Möbius
functionnumlib::moebius
(n)
returns the value of
the Möbius function at n
.
numlib::moebius(n)
n |
- | a natural number |
numlib::moebius
(n)
returns a nonnegative
integer.
n
is a natural number
numlib::moebius
(n)
returns the value of the
Möbius function in n
.n
is not a number,
numlib::moebius
(n)
returns the function call
with its argument evaluated.numlib::moebius
returns an error if the argument
evaluates to a number of wrong type.Computing the value of the Möbius function in :
>> numlib::moebius(99937)
0
Computing the value of the Möbius function in
:
>> numlib::moebius(453973694165307953197296969697410619233826)
-1
ifactor
is used for factoring
n
.