derivation of recurrence for Sylvester’s sequenceLet us begin with the product:an=1+∏i=0n-1aiAdding 1 to n and manipulating the result:an+1=1+∏i=0nai=1+an∏i=0n-1ai=1+an(an-1)=1+(an)2-an