L = smoothdivisors(d,g)
i1 : smoothDivisors(5,2) o1 = {{2, 3}, {4, 2, 1, 1, 1, 1, 1}, {4, 1, 2, 1, 1, 1, 1, 1, 1, 1}} o1 : List
i2 : smoothDivisors(5,2,ZZ/101[x,y,z,w]) o2 = {{2, 3}, {4, 2, 1, 1, 1, 1, 1}, {4, 1, 2, 1, 1, 1, 1, 1, 1, 1}} o2 : List