First time here? Check out the FAQ!
answered 2017-08-02 00:53:56 +0100
You are close to the solution: just turn your field element into a polynomial in the undeterminate a:
a
sage: (a**9).polynomial().list() [1, 3]