We use cookies to personalise content and advertisements and to analyse access to our website. Furthermore, our partners for online advertising receive pseudonymised information about your use of our website. cookie policy and privacy policy.
 
+0  
 
0
928
1
avatar+601 

Find all integers $n$ for which $\frac{n^2+n+1}{n-1}$ is an integer.

 Jan 23, 2018
 #1
avatar+601 
+2

The answer is -2, 0, 2 and four. 

n^2+n+1 is equal to (n-1)(n+2)+3.

 

dividing this by n-1 gives n+1-3/n-1. from there, we find all integers where 3/n-1 is an integer, thus we get n=-2, 0, 2, and 4

 Jan 23, 2018

13 Online Users