# Revision history [back]

I think it is a bug.

A workaround for now is to use coeffs instead of coefficients.

Here is what you get then.

sage: for n in (0..4):
....:     print g(x,n).series(x,3*n).coeffs()
....:

Note however that coeffs is deprecated, so it might disappear in a future version of Sage.