This code is working fine for me .I am using sympy- 1.1.1
from sympy import *
...: t = Symbol('t')
...: f = 1 / ((1-t) * (1-t**5) * (1-t**10) * (1-t**25) * (1-t**50) *
(1-t**100))
...: f.series(t,0,784).coeff(t**783)
...:
Out[50]: 683772
On Monday, February 12, 2018 at 1:26:16 PM UTC+5:30, Belkiss Anane wrote:
>
> Hello! I have SymPy on my computer but it crashed and I'm using someone
> else's to do some math problems. Unfortunately, the online SymPy times out
> really fast. Can someone run these commands for me please?
>
> from sympy import *
> t = Symbol('t')
> f = 1 / ((1-t) * (1-t**5) * (1-t**10) * (1-t**25) * (1-t**50) * (1-t**100))
> f.series(t,0,784)
>
>
> I am just looking for the coefficient of t**783!
>
>
> Thank you very much, you'll be saving my night!
>
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/802afdc3-69dc-4ef2-9f87-9f3ea86a7e62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.