| 1 | initial version |
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]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.