Hi,
Consider:
def tau(m):
q = PowerSeriesRing(QQ, 'q', default_prec=12).gen()
pq=prod([(1-q^k)^24 for k in range(1,m)])
return pq.coefficients()[:m]
tau(20)
[1, -24, 252, -1472, 4830, -6048, -16744, 84480, -113643, -115920,
534612, -370944, -577738, 401856, 1217160, 987136, -6905934, 2727432,
10661420, -7109760]
If m increases, this routine becomes is slow. Is there a fast routine
(or table) for large m?
Thanks in advance!
Rolandb
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org