Find |S|: How to Calculate Sum of Integer Values of n

  • Thread starter Thread starter Greychu
  • Start date Start date
AI Thread Summary
The discussion focuses on calculating the sum of all integer values of n for which the expression (n^2 + 12n - 43) / (n + 6) is an integer. By defining m = n + 6 and completing the square, it is determined that the expression simplifies to (m^2 - 79) / m. The integer solutions arise from setting m equal to ±1 and ±79, leading to four integer values of n: -5, -7, 73, and -85. The final calculation of |S| results in a value of 24. The method of completing the square is highlighted as a crucial step in solving the problem.
Greychu
Messages
14
Reaction score
0

Homework Statement


Let S be the sum of all integer values of n such that \frac {n^2+12n-43} {n+6} is an integer. What is the value of |S|.

Homework Equations


Since it's sum, S = \frac {n} {2} \ (2a+(n-1)d) where a is the first term.
The \frac {n^2+12n-43} {n+6} = x, where x is an integer

The Attempt at a Solution



\frac {n^2+12n-43} {n+6}= x
{n^2+(12-x)n-43-6x} = 0


basically I have no idea "Let S be the sum of all integer values of n" means?
Is it means that S = n or otherwise? Need clarification for this.
 

Attachments

  • Untitled.png
    Untitled.png
    6.8 KB · Views: 498
Physics news on Phys.org
You need to find out for what values of ##n## the expression ##\frac {n^2+12n-43} {n+6} ## is an integer.

It's not an arithmetic progression.

Try defining ##m=n+6## and then express ##n^2+12n-43## in terms of ##m##.
 
I would complete the square in the numerator. From that it turns out that the fraction is an integer for only a very small number of values of n!​
 
I think I got it by completing the square.
it will becomes \frac {(n+6)^2 - 79}{n+6}

Since 79 is prime number,
Solving n + 6 = ± 1 and n + 6 = ± 79 will gives rise to 4 integers, which is -5, -7, 73 and -85.
Hence, |S| = |-5-7+73-85| = 24

Thanks for pointing out the completing the square. It helps.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top