How this calculation works
Generate a small permutation group and compute its exact Molien rational average and invariant-polynomial dimensions through a declared degree cap.
M_G(t)=|G|^-1 sum_g product_cycles c (1-t^|c|)^-1A worked example
The default generators give S3 acting on three variables. Its invariant dimensions in degrees0–4 are1,1,2,3,4;the rational series equals1/((1−t)(1−t²)(1−t³)).
Good to know
1–8 permuted variables,≤6 generators,generated group≤120 elements,degree cap0–30;exact BigInt coefficient arithmetic. Rational output is a finite sum,not a minimal common-denominator expression or algebra-generator presentation.
Reference: GAP Molien-series reference (opens in a new tab) ↗
Specify the action by permutation generators
Each row gives the image of every symbol under one permutation, using labels zero through n minus one. For example, 1,0,2 exchanges the first two variables and fixes the third. The same number of symbols and a valid bijection are required in every generator row.
The input describes generators rather than every group element. Starting with the identity, the calculator repeatedly composes known elements with these generators until closure stops. The generated group must have at most one hundred twenty elements; a larger closure produces a clear domain error instead of a truncated average.
Compare this with the Burnside orbit counting calculator for an explicit permutation action. Count invariant polynomial dimensions by degree using cycle determinants,not orbits of a fixed finite coloring set.
Count homogeneous invariant polynomials
A homogeneous polynomial of degree d has every monomial of total degree d. The group acts by permuting variables, and invariants are the polynomials unchanged by every group element. The coefficient of t to the d in the Molien series is the dimension of this invariant vector space.
This is a dimension over a characteristic-zero coefficient field. It does not count polynomials with coefficients drawn from a finite palette, and it does not classify colorings of a fixed set of positions. Although orbit averaging appears in both topics, their objects and generating functions are different.
Read the cycle denominator
A permutation cycle of length l contributes the factor one minus t to the l to the determinant of identity minus t times its permutation matrix. Disjoint cycles contribute multiplicatively. The reciprocal determinant therefore depends only on the cycle lengths, allowing all elements of the same cycle type to share a term.
The output groups these terms by cycle type, records their multiplicities, and divides the weighted sum by the group order. This finite rational sum is already an exact generating function. It need not be combined into a single fraction to determine every requested coefficient or verify the group average.
Expand the factors by an integer recurrence
The reciprocal of one minus t to the l is the geometric series with a one at degrees divisible by l. Multiplying these factors counts ways to select nonnegative contributions from each cycle. The calculator updates a finite coefficient array in increasing degree, using arbitrary-precision integer arithmetic throughout.
After summing over group elements, every coefficient numerator must be divisible by the group order. This exact divisibility is checked before returning dimensions. Only coefficients through the selected degree are expanded, while the displayed cycle-denominator sum retains information about the entire infinite Molien series.
Work through the symmetric three-variable action
The two default generators generate all six permutations of three variables. There is one identity with three one-cycles, three transpositions with cycle lengths one and two, and two three-cycles. Their reciprocal determinant contributions have weights one sixth, three sixths and two sixths, respectively.
The resulting dimensions start one, one, two, three and four in degrees zero through four. These also count monomials in the elementary symmetric generators of degrees one, two and three. That independent symmetric-polynomial interpretation is useful for this example, but arbitrary permutation groups may need relations among invariant generators.
Separate Hilbert data from a generating set
The Molien series is a Hilbert series: it records how many independent homogeneous invariants occur at each degree. It does not identify a preferred basis, list algebra generators, or specify relations between those generators. Different presentations of an invariant ring can yield exactly the same dimension sequence.
Likewise, a finite prefix of coefficients does not prove that the ring is freely generated with guessed degrees. The full rational cycle average is supplied so that later symbolic analysis can use exact information. Deducing a minimal presentation requires further invariant-theoretic computations beyond this calculator's stated output.
Keep the action and characteristic explicit
The permutation action here is the natural action on a polynomial variable for each symbol. A different matrix representation of the same abstract group can have a different Molien series. Merely naming the group without describing its action would therefore leave the desired answer underdetermined.
Molien averaging uses division by the group order and is presented in characteristic zero. Modular invariant theory behaves differently when the characteristic divides that order. The degree cap is an output-expansion bound, and the closure cap is a group-enumeration bound; neither is an approximation tolerance for the returned exact coefficients.
A few questions, answered
Are the rows every element of the group?
They are generators; the calculator constructs the complete bounded closure.
Does a coefficient count invariant polynomials?
It is the vector-space dimension of homogeneous invariants of that degree over a characteristic-zero field.
Is the rational sum exact?
Yes. Grouped cycle terms give the full Molien series even without one combined denominator.
Does this return invariant generators?
No. It returns the Hilbert series and degree dimensions, not a minimal algebra presentation.