MHB Sum of Products of N Natural Numbers

  • Thread starter Thread starter mathworker
  • Start date Start date
  • Tags Tags
    Sum
mathworker
Messages
110
Reaction score
0
If we are given with set of n natural numbers and asked to find the sum of all possible products of two number..
E.G:
{1,2,3} is given then ,
1*1+1*2+1*3+2*2+2*3+3*3=s
how to find the general formula of SUM for given n-tuple containing consecutive natural numbers not necessarily starts with 1 or at least first N natural numbers
 
Physics news on Phys.org
Re: sum of products of N

i tried with following approach ,
S=$$\sum n^2 + \sum n(n-1)...\sum n(n-(n-1))$$...
and tried finding sum by splitting terms but it gone wrong 'cause there are some negative terms which are meant to be ignored(Lipssealed)
 
Re: sum of products of N

mathworker said:
i tried with following approach ,
S=$$\sum n^2 + \sum n(n-1)...\sum n(n-(n-1))$$...
and tried finding sum by splitting terms but it gone wrong 'cause there are some negative terms which are meant to be ignored(Lipssealed)
You should be able to check that the formula for $S_n$ is $S_n = \frac1{24}n(n+1)(n+2)(3n+1)$. Prove this by induction, noting that to get from $S_n$ to $S_{n+1}$ you need to add the terms $(n+1)(1+2+\ldots+(n+1)).$
 
yeah i got from Opalgs idea,
$$Sn - S(n-1)=n(n(n+1))/2$$
$$S(n-1)-S(n-2)=(n-1)(n-1)n/2[/math]
and by canceling up to $$S_0$$
$$Sn = \sum n^2(n+1)/2$$
$$=n(n+1)(n+2)(3n+1)/24$$
thanks oplag...:D
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top