+0

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

0
142
1
+598

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

michaelcai  Jan 23, 2018
Sort:

#1
+598
+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

michaelcai  Jan 23, 2018

### 31 Online Users

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.  See details