Also:

sage: from sympy import *
sage: n = Symbol('n', integer=True)
sage: u = Function('u')
sage: f=u(n+2)-2*u(n+1)-8*u(n)
sage: rsolve(f,u(n),{u(0):2,u(1):7})
(-2)**n/6 + 11*4**n/6

Andrzej Chrzeszczyk

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to