Message Boards Message Boards

GROUPS:

[✓] Increment in multiple sum indices?

Posted 1 year ago
909 Views
|
2 Replies
|
2 Total Likes
|

Hello, I am trying to write nested sums of the following form:

enter image description here

But i need the index j to run from 0 with an increment as follows:

enter image description here

any suggestions? Thanks

2 Replies

You can use Fold:

With[{k = 2},
 Fold[Sum[#1, {Subscript[a, #2], 0, n}] &, Sum[a[i] x^i, {i, 0, n}], 
  Range[0, k]]]
Posted 1 year ago

Thanks :) Solved!

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract