Previous Page Next Page Contents

numlib::moebius -- Möbius function

Introduction

numlib::moebius(n) returns the value of the Möbius function at n.

Call(s)

numlib::moebius(n)

Parameters

n - a natural number

Returns

numlib::moebius(n) returns a nonnegative integer.

Related Functions

numlib::lambda, numlib::phi

Details

Example 1

Computing the value of the Möbius function in :

>> numlib::moebius(99937)
                                     0

Example 2

Computing the value of the Möbius function in

:

>> numlib::moebius(453973694165307953197296969697410619233826)
                                    -1

Background

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000