Möbius Function

Description:Calculates the Möbius function, used in number theory, usually written as μ(n) but called MOB(n) here, is defined thus: MOB(n) = 0 if n has a squared prime factor; MOB(n) = 1 if n is a square-free positive integer with an even number of prime factors; and MOB(n) = −1 if n is a square-free positive integer with an odd number of prime factors. Includes both a User RPL version and a much faster System RPL version.
Authors:Joseph K. Horn: http://HolyJoe.Org
Gerald Hillier
Downloaded file size:2,028 bytes
Size on calculator:1 KB
User rating:Not yet rated (you must be logged in to vote)
Primary category:Math/Misc
File date:2018/03/18 11:57:17
Creation date:2018/03/17
Source code:Included
Download count:27
Version history:2018/03/18: Added to site
Archive contents:
  Length      Date    Time    Name
---------  ---------- -----   ----
      110  2018-03-18 11:55   MOB.HP
      141  2018-03-18 11:55   MOB.RPL
     4711  2018-03-18 11:54   mobius.html
---------                     -------
     4962                     3 files
User comments:

No comments at this time.

You must be logged in to add your own comment.

Part of the HP Calculator Archive,
Copyright 1997-2018 Eric Rechlin.