(49g 50g) Divisibility Programs
|
01-30-2021, 10:13 PM
(This post was last modified: 01-30-2021 10:15 PM by John Keith.)
Post: #1
|
|||
|
|||
(49g 50g) Divisibility Programs
Here are several short programs for number theory functions related to prime factors and divisibility. I am posting them as a directory object for convenience and because of some dependencies. Some short descriptions follow, in order of the listings.
JorJ2 is the Jordan J2 function. DDKPSI is the Dedekind Psi function. LVL\Gl is the Liouville lambda function. The three programs above return the value of the function for an integer n. The next three programs, A7434, A1615 and A8836 return lists of the above functions from 1 to n. They are substantially faster than using the programs above inside a loop. \Gw (omega) is the "little" omega function. \GW (Omega) is the "big" omega function. The last two programs, DIRCNV and DIRINV, are the last program in post #1, and the program in post #2 respectively in this thread. They are listed here because they are called by the list-based programs above. Various programs require Factor 1.1, ListExt and MOB, Gerald H's SystemRPL program for the Moebius mu function. Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)