Question: Dual sum loop with a condition

I am new to Maple so apppologies if this is a very basic question. I have a dual sum loop. Sigma i=1to 6(sigma j=1to 6)A_iB_j.

That works fine. I need to include the condition i+j<=8. So when when i=3 j can only count to 5, i=4 j count to 4, i=5 j count to 3. etc.

At present I am just using the work sheet. Haven't got into writing code yet.


Would appreciate any assistance,

Please Wait...