Ask Your Question

Revision history [back]

You are close to the solution: just turn your field element into a polynomial in the undeterminate a:

sage: (a**9).polynomial().list()
[1, 3]