Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium WrongResult Solvers
New issue 2943 by krastano...@gmail.com: rsolve: wrong result
http://code.google.com/p/sympy/issues/detail?id=2943
Not necessarily wrong, but trivial.
sympy:
In [16]: rsolve(a*f(n+1)-b**2*f(n)-f(n+2), f(n), {2:a**2-b**2,
3:a**3-2*a*b**2})
Out[16]: 0
or the same system written differently
In [18]: rsolve(a*f(n-1)-b**2*f(n-2)-f(n), f(n), {2:a**2-b**2, 1:a})
Out[18]: 0
mathematica:
http://www.wolframalpha.com/input/?i=RSolve[{d[n]+%3D%3D+a+d[n+-+1]+-+b^2+d[n-2]%2C+d[1]+%3D%3D+a%2C+d[2]+%3D%3D+a^2+-+b^2}%2C+d[n]%2C+n]
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.