top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

    Get Free Puzzle Updates

Facebook Login
Site Registration

Compute the sum over all integers n for which (n^3 + 8) / (n^2 - 4) is an integer?

+1 vote
44 views
Compute the sum over all integers n for which (n^3 + 8) / (n^2 - 4) is an integer?
posted Nov 3 by anonymous

Share this puzzle
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

2 Answers

–1 vote
 
Best answer

14


n^3+8=(n+2)*(n^2-2n+4) -----> (1)
n^2-4=(n+2)*(n-2) -----> (2)
(1)/(2)= (n^2-2n+4)/(n-2)= n+ 4/(n-2) -----> (3)
For (3) to be an integer 4/(n-2) must be integer, then n-2 = {-4,-2,-1,1,2,4} => n={-2,0,1,3,4,6}
n=-2 is excluded as n^2-4 can't be zero due to divisibility rule
Sum of all n will be 0+1+3+4+6=14

answer Nov 3 by Hanifa Mammadov
Check for n=1 again! And for n = -2, 0 & 6
I considered only positives... but yes it says all... thanks
Answer will be 14 since n can't be -2as for n=-2 ,n^2-4will be=0
So sum will be 0+1+3+4+6=14
Agreed, thanks
We have divided (n^3+8) with (n^2 - 4) eliminating a common factor (n + 2). Therefore n = -2 is still valid. As long as you get a valid answer for [n+ 4/(n-2)] all values of   n yield valid answers. For n = -2 we have
[n+ 4/(n-2)] = [ (-2) + (4/(-2 - 2)) ]
= (-2) + (-1) = -3 which is valid.
0 votes

(n^3 + 2^3) = (n + 2)×(n^2 - 2n + 4)
(n^2 - 2^2) = (n + 2)(n - 2)
(n^3 + 2^3)/(n^2 - 2^2) = (n^2 - 2n + 4)/(n - 2) = n + (4/(n - 2))
This means for n = -2, 0, 1, 3, 4 & 6 we have (n^3 + 2^3)/(n^2 - 2^2) = -3, -2, -3, 7, 6 & 7 as for n > 6 & n < (-2), 4/(n - 2) will always yield a fraction making
(n^2 - 2n + 4)/(n - 2) = n + (4/(n - 2)) always a non integer beyond n > 6 & n < (-2).
Therefore the required sum = -2 + 0 + 1 + 3 + 4 + 6 = 12.

answer Nov 3 by Tejas Naik



Similar Puzzles
+1 vote

For some positive integer k both 4^k and 5^k start with the same digit x in base 10 i.e.
4^k = x.....
5^k = x.....
What is the sum of all possible values of x.

+1 vote

An integer x is selected in such a way that

x + x^(1/2) + x^(1/4) = 276

Then what would be the sum of all digits of the number y where

y = 100000 x^(1/4) + 1000 x^(1/2) + x 
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...