ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 15 Feb 2014 23:55:24 -0600- Computing the dimensions of spaces of modular & cusp formshttp://ask.sagemath.org/question/11043/computing-the-dimensions-of-spaces-of-modular-cusp-forms/In OEIS [A159634](http://oeis.org/A159634) Steven Finch gave the following
MAGMA snippet to compute the
*coefficient for dimensions of spaces of modular & cusp forms of weight k/2, level 4n and trivial character, where k >= 5 is odd.*
[[4*n, (Dimension(HalfIntegralWeightForms(4*n, 7/2)) +
Dimension(CuspidalSubspace(HalfIntegralWeightForms(4*n, 5/2))))/2]:n in [1..70]];
*How can this sequence be computed with Sage?*
Note that this question is related to a [conjecture](http://math.stackexchange.com/q/677949/129098) of Enrique PĂ©rez Herrero.
Peter LuschnySat, 15 Feb 2014 23:55:24 -0600http://ask.sagemath.org/question/11043/