Group Abstract Group Abstract

Message Boards Message Boards

Sum over two variables

GROUPS:
How can I find The sumation Of:
2s+t
where: (s) is go from 1 to 10 ,,, And ( t) is go from  1 to 10 . And there is another condition {(s) dosn't equal to (t+1)}
I am looking eorward to recieve the soluation ..Thank you, 
POSTED BY: Ahmed Al-Ali
Answer
1 year ago
Sum[2 s + t, {t, 1, 10}, {s, 1, 10}]
Sum[Boole[s !=  t + 1]*(2 s + t), {t, 1, 10}, {s, 1, 10}]
POSTED BY: Frank Kampas
Answer
1 year ago
Easy task with Wolfram|alpha - here is the LINK:

POSTED BY: Sam Carrettie
Answer
1 year ago
Wolfram Alpha speaks Mathematica so

sum Boole(s != t+1)*(2*s + t) from s = 1 to 10, t = 1 to 10

works
POSTED BY: Frank Kampas
Answer
1 year ago
Thank you its work well
POSTED BY: Ahmed Al-Ali
Answer
1 year ago