SOLUTION: The sum of p consecutive integer is 4. What is p?

Algebra.Com
Question 1143829: The sum of p consecutive integer is 4. What is p?
Found 2 solutions by ikleyn, greenestamps:
Answer by ikleyn(52781)   (Show Source): You can put this solution on YOUR website!
.

    (-3) + (-2) + (-1) + 0 + 1 + 2 + 3 + 4 = 4.


     p = 8.    ANSWER


Answer by greenestamps(13200)   (Show Source): You can put this solution on YOUR website!


Suppose p is odd. Then the average of the integers is the middle number, which is some integer n. Then the sum of the p consecutive integers is p times n, where p is an odd integer and n is any other integer.

Since the given sum 4 can't be written as the product of two integers of which at least one is odd, we now the number of integers p can't be odd.

So p must be even. Then the average of the integers is halfway between two integers; call that average n+1/2, where n is n integer. Then the sum of the integers is the product of the even number p and the number (n+1/2).

The only way to write the given sum 4 in the form p(n+1/2) where p and n are both integers is 8(1/2).

That means the integers are the 8 integers with an average of 1/2.

So the answer to the question is p=8.

The 8 integers are the 4 integers either side of 1/2: 0, -1, -2, and -3; and 1, 2, 3, and 4.

(-3)+(-2)+(-1)+0+1+2+3+4 = 4

RELATED QUESTIONS

what is the product of three consecutive odd integers if the middle integer is p-5 (answered by Edwin McCravy)
If 400 more than the sum of p consecutive integers is equal to the sum of the next p... (answered by ikleyn,greenestamps)
If p and q are consecutive negative even integers whose sum is -120, and q < p, what is... (answered by edjones)
if p and q are consecutive even integers whose sum is -120, and q (answered by ikleyn)
What is the sum of three consecutive even integer, if n is even the first... (answered by dkppathak)
The sum of 3 consecutive even integers is 54. What is the first consecutive integer? (answered by asha,funmath)
The sum of three consecutive integers is 72. What is the first consecutive... (answered by rfer)
On a 3 positive consecutive integer the middle number is p. If 3 times the square of the... (answered by Horlaye,ikleyn)
The sum of an integer and three times the next consecutive integer is 47. What is the... (answered by checkley77,halbren)