character(A,i)
This function is provided by the package BettiCharacters.
Use this function to compute the Betti characters of a finite group action on a minimal free resolution in a given homological degree. More explicitly, let $F_\bullet$ be a minimal free resolution of a module $M$ over a polynomial ring $R$, with a compatible action of a finite group $G$. If $\mathfrak{m}$ denotes the maximal ideal generated by the variables of $R$, then $F_i/\mathfrak{m}F_i$ is a graded representation of $G$. We refer to its character as the $i$th Betti character of $M$ (or a minimal free resolution of $M$). Betti characters are computed using Algorithm 1 in F. Galetto  Finite group characters on free resolutions.
To illustrate, we compute the Betti characters of a symmetric group on the resolution of a monomial ideal. The ideal is the symbolic square of the ideal generated by all squarefree monomials of degree three in four variables. The symmetric group acts by permuting the four variables of the ring. The characters are determined by five permutations with cycle types, in order: 4, 31, 22, 211, 1111.






By construction, the character in homological degree 0 is concentrated in degree 0 and trivial.

The character in homological degree 1 has two components. The component of degree 3 is the permutation representation spanned by the squarefree monomials of degree 3 (which can be identified with the natural representation of the symmetric group). The component of degree 4 is the permutation representation spanned by the squares of the squarefree monomials of degree 2.

In homological degree 2, there is a component of degree 4 which is isomorphic to the irreducible standard representation of the symmetric group. In degree 5, we find the permutation representation of the symmetric group on the set of ordered pairs of distinct elements from 1 to 4.

Finally, the character in homological degree 3 is concentrated in degree 6 and corresponds to the direct sum of the standard representation and the tensor product of the standard representation and the sign representation (i.e., the direct sum of the two irreducible representations of dimension 3).