How many positive integers n such that n 2 + n + 1 4 n + 2 n + 1 is a positive integer?
If you think that there are infinitely many such " n "s, type -777487.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
A slightly different approach to Patrick's...
For any m ∈ N ∪ { 0 } , define k = 2 2 m − m − 1 . Then k + 1 is a power of 2 , so is coprime to 3 . Thus the map u ↦ 3 u from Z k + 1 to itself is bijective. For any positive integer n , u = 0 ∑ k n 3 u ≡ u = 0 ∑ k n f ( u ) ≡ u = 0 ∑ k n u ( m o d n k + 1 − 1 ) so we deduce that u = 0 ∑ k n 3 u ≡ u = 0 ∑ k n u ≡ 0 ( m o d j = 0 ∑ k n u ) which implies that u = 0 ∑ k n u u = 0 ∑ k n 3 u is an integer. Now note that ( 1 + n + n 2 ) ( u = 0 ∑ k n 3 u ) = u = 0 ∑ 3 k + 2 n u = ( 1 + n k + 1 + n 2 k + 2 ) ( u = 0 ∑ k n u ) and hence we see that n 2 + n + 1 n 2 k + 2 + n k + 1 + 1 = u = 0 ∑ k n u u = 0 ∑ k n 3 u is an integer. If we now put n = 2 2 m then n k + 1 = 2 ( k + 1 ) 2 m = 2 2 2 m = 2 n and hence we deduce that n 2 + n + 1 4 n + 2 n + 1 is an integer whenever n = 2 2 m for any m ∈ N ∪ { 0 } . Thus the answer is − 7 7 7 4 8 7 .
Observe that n=2 and n=4 and n=16 are solutions. Maybe every n = 2 2 k is?
Without a rigorous proof, I could see a pattern in the polynomial divisions below that made me quite confident that it would always come out for such n.
k | n | 4 n + 2 n + 1 | polynomial division quotient ( 4 n + 2 n + 1 ) / ( n 2 + n + 1 ) |
0 | 2 | n 4 + n 2 + n 0 | n 2 − n 1 + n 0 |
1 | 4 | n 4 + n 2 + n 0 | n 2 − n 1 + n 0 |
2 | 16 | n 8 + n 4 + n 0 | n 6 − n 5 + n 3 − n 1 + n 0 |
3 | 256 | n 6 4 + n 3 2 + n 0 | n 6 2 − n 6 1 + n 5 9 − n 5 8 . . . + n 3 2 − n 3 1 + n 3 0 − n 2 8 + n 2 7 − n 2 6 . . . − n 4 + n 3 − n + 1 |
Observe that
Observe that the three powers of n in each row (e.g. 6 4 , 3 2 and 0 ) have different remainders (mod 3), so that the infinite tails of their power series cancel out, and the division becomes finite.
Problem Loading...
Note Loading...
Set Loading...
Lemma: n 2 + n + 1 divides n 2 a + n a + 1 as long as a is not divisible by 3 .
Proof: Since x 2 + x + 1 is the minimal polynomial of ω , a primitive third root of unity , it is enough to note that ω 2 a + ω a + 1 = 0 . □
Now, to solve the problem, let k be a nonnegative integer. Let m = 2 k . Let n = 2 m . Let a = 2 m − k , so that m a = n . Then n 2 a + n a + 1 = 4 m a + 2 m a + 1 = 4 n + 2 n + 1 .
By the lemma, then, since a is not divisible by 3 , n 2 + n + 1 4 n + 2 n + 1 is an integer. There are infinitely many k , hence infinitely many n .