Question: Boolean condition in the sum

Hello,

 

Here a simplified version of my problem.  I want to evaluate the double sum

 

sum(  sum( k+j, k=0..5), j=1..8);

 

But I would like to compute the sum only when  the condition    15  >=  k^2  +  j  >= 3  holds.

 

How can I include that restriction?

 

Thanks for your help,

 

Jean-Jacques

Please Wait...