Marv's favorite integer is N . Being a naturally curious kid, he was surprised to calculate that the average of the N integers
N + 1 , N + 2 , N + 3 , … 2 N
is 8 0 , which he hates. What is Marv's favorite integer?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
There is an error in the last line. I believe it should be N = (160-1) / 3 = 53
Para encontrar a média, precisamos somar todos os termos e dividir pelo número de parcelas n. Observe que a sequencia dada é uma Progressão aritmética, com isso, podemos obtemos a soma dos termos.
2 n n ( 3 N + 1 ) = 8 0
2 ( 3 N + 1 ) = 80
3 N + 1 = 1 6 0
3 N = 1 5 9
N = 5 3 .
We start with the following equation, given the stipulated information:
N N + 1 + N + 2 + N + 3 + . . . + 2 N = 80
∵ there are N integers, rearranging, we have:
N 2 + 1 + 2 + 3 + ... + N = 80N
We apply the identity:
1 + 2 + 3 + ... + N = 2 N ( N + 1 )
∴ N 2 + 2 N ( N + 1 ) = 80N
∵ N can't be equal to 0, we can divide by N from all terms:
N + 2 N + 1 = 80
The rest is simple manipulation:
2N + N + 1 = 160
3N = 159
N = 53
∴ Marv's favourite integer is 53.
This should make things clearer...
N+1+N+2...2N= N^2 + N(N+1)/2. The total summation divided by N is the average. Therefore, N + (N+1)/2 = 80 which implies 3N = 159 and so N=53
How can we determine the average without having to calculate the total summation?
Sn = (a1 + an)(n/2) = (N +1 + 2N)(N/2) = (3N + 1)(N/2) = (3N^2 + N)/2
Mean = Sum/N 80 = [(3N^2 + N)/2]/N 80 = (3N^2 + N)/2N 160N = 3N^2 + N 3N^2 = 159N N = 53
How do you go from N+(N+1)/2=80 to 3N=159....
N+1+N+2...2N= N^2 + N(N+1)/2?? But the total summation of N numbers is only N(N+1)/2, no?
Log in to reply
The summation of the first N numbers is 2 N ( N + 1 ) . We are not summing up 1 + 2 + . . . + N in this case, but ( N + 1 ) + ( N + 2 ) + … + ( N + N ) .
it so tyred
what i still dont get, actually im stupid
i still dont get it,, never mind
I could not find a solution and I don't understand the processes given, but I could get the number simply
for (N = 1; N <= 80; N++) { long MyAvg = 0; int TotalNumbers = 0; for (Int16 Avg = N + 1; Avg <= N * 2; Avg += 1) { MyAvg += Avg; TotalNumbers += 1; } if (MyAvg / TotalNumbers == 80) { Interaction.MsgBox(string.Format("The number is {0}", N.ToString())); break; } }
Consider the Arithmetic Progression, N+1, N+2, .., 2N. Obviously, the number of terms is N. Sum of the terms = N/2 (first term + last term) = N / 2 (N+1 + 2N) = N / 2 (3N + 1) Given, average is 80. Therefore, Sum of the terms / N = 80 Therefore, sum of the terms = 80N. This gives, N(3N + 1) = 160N 3N + 1 = 160 3N = 159 N = 53.
We can write the average of the given equation as following :
n ( n + 1 ) + ( n + 2 ) + . . . + ( n + n ) = 8 0
The upper part can also be written as a sum:
n 1 k = 1 ∑ n ( n + k ) = 8 0
Which we can develop into:
n 1 [ k = 1 ∑ n n + k = 1 ∑ n k ] = 8 0
Then we obtain :
n 1 [ n 2 + 2 n ( n + 1 ) ] = 8 0 3 n + 1 = 1 6 0 n = 5 3
So Marv's favorite integer is 53.
We start with the following equation, given the stipulated information:
N+1+N+2+N+3+...+2NN= 80
∵ there are N integers, rearranging, we have:
N2 + 1 + 2 + 3 + ... + N = 80N
We apply the identity:
1 + 2 + 3 + ... + N = N(N+1)2 ∴ N2 + N(N+1)2 = 80N
∵ N can't be equal to 0, we can divide by N from all terms:
N + N+12 = 80
The rest is simple manipulation:
2N + N + 1 = 160
3N = 159
N = 53
∴ Marv's favourite integer is 53.
Let n be Marv's favorite integer From n+1 to 2n, there are n integers. Then, n ( 3 n + 1 ) / 2 = 8 0 n , So n =53
y r u dividing it by 2....and how do you know how to solve it.
any related article or problem solving technique ?? or just elaborate this
I understand up to there are n integers, but how did you come up withy the equation? Why is 80 multiplied by n?
Log in to reply
Sum of any series in arithmetic progression is: (Number of terms) (first term+ last term)/2= (N) (N+1+2N)/2= N*(3N+1)/2.
You know average= Sum/( number of terms). So, Sum= average* number of terms= 80*N.
Equate both of them and you get the aforementioned equation.
i couldn't understand
Problem Loading...
Note Loading...
Set Loading...
This question can be easily approached without having to sum up all of the terms.
Observe that the average of the N integers, is the same as the average of the integers paired up from the end. Hence, we have
2 ( N + 1 ) + ( 2 N ) = 8 0 .
Solving this gives us N = 3 1 6 0 − 1 = 5 3 .