Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.coefficients() for EisensteinSeries does not return requested coefficients #691

Closed
mwhansen opened this issue Sep 18, 2007 · 4 comments
Closed

Comments

@mwhansen
Copy link
Contributor

sage: e = G.gen()
sage: E = EisensteinForms(e, 3)
sage: v = E.eisenstein_series()
sage: f = v[0]
sage: f
15/11*zeta10^3 - 9/11*zeta10^2 - 26/11*zeta10 - 10/11 + q + (4*zeta10 + 1)*q^2 + (-9*zeta10^3 + 1)*q^3 + (16*zeta10^2 + 4*zeta10 + 1)*q^4 + (25*zeta10^3 - 25*zeta10^2 + 25*zeta10 - 24)*q^5 + O(q^6)
sage: f.coefficients([0,1,2,3,4])

[15/11*zeta10^3 - 9/11*zeta10^2 - 26/11*zeta10 - 10/11,
 1,
 4*zeta10 + 1,
 -9*zeta10^3 + 1,
 16*zeta10^2 + 4*zeta10 + 1]
sage: f.coefficients([0,1,2,3,4])
[15/11*zeta10^3 - 9/11*zeta10^2 - 26/11*zeta10 - 10/11]

Component: modular forms

Issue created by migration from https://trac.sagemath.org/ticket/691

@mwhansen
Copy link
Contributor Author

comment:2

Patch attached.

@mwhansen
Copy link
Contributor Author

comment:3

Actually, there is a problem with f._compute. Ignore the above patch for now.

@mwhansen
Copy link
Contributor Author

Attachment: 691.patch.gz

@mwhansen
Copy link
Contributor Author

comment:4

Attachment: 691.2.patch.gz

Patch attached which fixes the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants