![]() Volume 10, Issue 1 Articles Trott's Corner New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff and Contributors Submissions Subscriptions Advertising Back Issues Contact Information |
Ordered and Unordered Factorizations of Integers
Ordered FactorizationsFor historical reasons, we will discuss formulas to enumerate factorizations before we discuss methods to generate the corresponding factorizations. In addition, some of the recursive methods to generate factorizations are extensions of the corresponding recursions to enumerate factorizations. Recursions for Enumerating Ordered FactorizationsWe begin with two recurrence formulas given by Hille [3]. The first element of an ordered factorization of
Using the Möbius inversion formula, Hille also derived a second recursion,
where This finds the list of distinct prime factors of
This recursion requires the initial value
The recursion can be rendered elegantly as a oneliner.
MacMahon's Formula for HMacMahon [4] derived an explicit formula for the value of
where
A Recursion for Factorizations with Distinct PartsWarlimont [5] derived a Dirichlet series generating function for the function
where the inside sum is taken over all There does not seem to be a simple combinatorial interpretation for this formula. We implement this starting with the appropriate boundary conditions.
When
Also observe that the number of parts
Now we implement the general formula.
We verify these counts by using the function DistinctOrderedFactorizations, which is defined in the next subsection.
To obtain the total number of distinct ordered factorizations, we must sum
In practice this recursion is slow. A faster counting method is discussed in a later section. Generating Ordered FactorizationsThe first recursion for We append to the first factor
One way to list all the ordered factorizations with distinct parts is to simply select these from the list of all ordered factorizations.
However, there are faster methods for doing this, which we discuss in a later section.
|
||||||||
About Mathematica | Download Mathematica Player © 2006 Wolfram Media, Inc. All rights reserved. |