Question: How to get a recursive sequence

Hello Maple users,

 

i'm trying to get a rekursive sequence like this:

 s:=x->piecewise(x = 1, 1, 1 < x, sum(s(i), i = 1 .. x-1))

 

If i try to get a term of the sequence >1 I get the this error: "Kernel connection has been lost..."

 

I tried varios sequences. All with a sum of the preceding terms crash.

Is there an logical mistake?

 

 

Thanks a lot in advance

Raphael

Please Wait...