New in Wolfram Mathematica 7: Differential & Difference Roots  previous | next 
Prove Identities for Sequences
Prove identities for holonomic sequences.
In[1]:=

Click for copyable input
PellP = DifferenceRoot[

   Function[{y, n}, {-y[n] - 2 y[1 + n] + y[2 + n] == 0, y[0] == 0, 

     y[1] == 1}]];
In[2]:=

Click for copyable input
DifferenceRootReduce[

 PellP[n] == (-(1 - Sqrt[2])^n + (1 + Sqrt[2])^n)/(2 Sqrt[2]), n]
Out[2]=

In[3]:=

Click for copyable input
DifferenceRootReduce[PellP[n + 1] PellP[n - 1] - PellP[n]^2 == (-1)^n,

  n]
Out[3]=

In[4]:=

Click for copyable input
DifferenceRootReduce[\!\(

\*UnderoverscriptBox[\(\[Sum]\), \(i = 0\), \(4\ n + 1\)]\(PellP[

    i]\)\) == (PellP[2 n + 1] + PellP[2 n])^2, n]
Out[4]=