SymPy Gamma logo SymPy Gamma

rsolve(y(n+2)-y(n+1)-y(n), y(n), {y(0): 0, y(1): 1})
rsolve(y(n+2)-y(n+1)-y(n), y(n), {y(0): 0, y(1): 1})
unsupported operand type(s) for *: 'UndefinedFunction' and 'Add'
See what Wolfram|Alpha has to say.

Experiment with SymPy at SymPy Live.