# regSeq -- regular sequence of powers of the variables, in given degrees

## Synopsis

• Usage:
I = regSeq(L,S)
• Inputs:
• L, a list, or sequence of positive integers
• S, a ring, Polynomial ring
• Outputs:
• I, an ideal, generated by the given powers of the variables

## Description

 i1 : kk=ZZ/101 o1 = kk o1 : QuotientRing i2 : S=kk[a..e] o2 = S o2 : PolynomialRing i3 : regSeq((2,3,4),S) 2 3 4 o3 = ideal (a , b , c ) o3 : Ideal of S

## Caveat

If the number of elements of L differs from the number of variables in the ring, the length of the regular sequence will be the minimum of the two.

## Ways to use regSeq :

• "regSeq(List,Ring)"
• "regSeq(Sequence,Ring)"

## For the programmer

The object regSeq is .