Thanks for the quick reply! Could you explain, or tell me what to search, 
what exactly "SR("y%s"%i)" does? Is SR Symbolic Ring? Also, the output for 
the sum is close to perfect, though it gives me:

y1 + y10 + y11 + y12 + y13 + y14 + y15 + y16 + y17 + y18 + y19 + y2 + y20 + y3 
+ y4 + y5 + y6 + y7 + y8 + y9

So, the order is a bit messed up. I wasn't sure if there was an easy way to fix 
that. 

Also, running it with 
R.<y> = InfinitePolynomialRing(QQ)
sum([5^k*y[k] for k in [1..20]])

Seems to run for a very long time

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to