Hi,

Meanwhile, lazy Laurent series ring is also available.

sage: L.<z> = LazyLaurentSeriesRing(QQ)                                    
                                                
sage: f = 1 - z - z^2                                                      
                                                
sage: b = ~f                                                                
                                               
sage: b.coefficient(10)                                                    
                                                
89
sage: b                                                                    
                                                
1 + z + 2*z^2 + 3*z^3 + 5*z^4 + 8*z^5 + 13*z^6 + ...
sage: C = L.series(lambda s,n: (1 + z*s^2)[n], valuation=0)                
                                                
sage: C.coefficient(10)                                                    
                                                
16796
sage: C                                                                    
                                                
1 + z + 2*z^2 + 5*z^3 + 14*z^4 + 42*z^5 + 132*z^6 + ...


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/933abd2a-5305-495f-a86e-a8dc7414f750n%40googlegroups.com.

Reply via email to