I = regSeq(L,S)
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
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.
The object regSeq is a method function.