Skip to content

Instantly share code, notes, and snippets.

@jsoffer
Created March 9, 2011 12:17
Show Gist options
  • Save jsoffer/862100 to your computer and use it in GitHub Desktop.
Save jsoffer/862100 to your computer and use it in GitHub Desktop.
PARI/GP
La serie formal generada por (3*x^2 + 5)/((1-x^2)*(1-x)^2) hasta x^99, el O(x^n)
representa el error y al sumarlo GP entiende que es serie en lugar de solamente
función racional
? p = (3*x^2 + 5)/((1-x^2)*(1-x)^2) + O(x^100)
Extrae el coeficiente de x^45
? polcoeff(p,45)
%21 = 4278
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment