Question: how to program this with maple



let us consider the series


y = a_0 - sum(a_i,i=1..n)


here the terms a_i are defined recurrsively as follows


a_i = (a_(i-1) -4*ln(x)/ln(10) + 4/10 + 4*ln(a_(i-1)) )/ ( 1+ 4/(a_(i-1) * ln(10)))


a[n] := (a[n-1]-4*ln(x)/ln(10)+4*(1/10)+4*ln(a[n-1]))/(1+4/(a[n-1]*ln(10)))


how can i program this in maple. so i can generative the series y, which will be a function of only a_0, n and x.

Please Wait...