5 Reputation

2 Badges

13 years, 182 days

MaplePrimes Activity

These are answers submitted by neubar

It turns out Maple will evaluate the problem if I use 'add' instead of 'sum'.


if you execute the following:

S6 := (x)->piecewise(x <= 0, 1, sum(p^x+S6(x-a), a = 1 .. 5));




Then stop the execution.

You will quickly notice that Maple is passing the summation parameter as 'a' instead of its numerical value when using 'sum'.  If you use 'add' it will pass its numberical value.

Page 1 of 1