Is that you, Mersenne?

Algebra Level 3

Let f ( x ) = x 2 + x + 1 f(x) = x^2 + x + 1 and n n be positive integer such that f ( n ) = f ( 255 ) f ( 256 ) . f(n) = f(255)f(256). Find the sum of all divisors of n n .


The answer is 131071.

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.

2 solutions

Chew-Seong Cheong
Oct 12, 2019

Let a = 256 = 2 8 a=256=2^8 . Then

f ( n ) = f ( 255 ) f ( 256 ) = f ( a 1 ) f ( a ) n 2 + n + 1 = ( ( a 1 ) 2 + a 1 + 1 ) ( a 2 + a + 1 ) = ( a 2 a + 1 ) ( a 2 + a + 1 ) = a 4 + a 2 + 1 n = a 2 = 2 16 \begin{aligned} f(n) & = f(255) f(256) = f(a-1)f(a) \\ n^2 + n + 1 & = \left((a-1)^2+a-1+1\right)\left(a^2+a+1\right) \\ & = \left(a^2-a+1\right)\left(a^2+a+1\right) \\ & = a^4 + a^2 + 1 \\ \implies n & = a^2 = 2^{16} \end{aligned}

Then the sum of the divisors of n = 2 16 n=2^{16} is given by k = 0 16 2 k = 2 17 1 2 1 = 131071 \displaystyle \sum_{k=0}^{16} 2^k = \dfrac {2^{17}-1}{2-1} = \boxed {131071} .

Vens L.
Oct 12, 2019

Notice that f ( x 1 ) = ( x 1 ) 2 + ( x 1 ) + 1 = ( x 2 2 x + 1 ) + ( x 1 ) + 1 = x 2 x + 1. f(x-1) = (x-1)^2 + (x-1) + 1 = (x^2 - 2x + 1) + (x-1) + 1 = x^2 - x + 1.

Then the key is to observe that f ( x 1 ) f ( x ) = ( x 2 x + 1 ) ( x 2 + x + 1 ) = ( x 2 + 1 ) 2 x 2 = ( x 2 ) 2 + x 2 + 1 = f ( x 2 ) , f(x-1)f(x) = (x^2 - x + 1)(x^2 + x + 1) = (x^2 + 1)^2 - x^2 = \left(x^2\right)^2 + x^2 + 1 = f(x^2), namely, f ( x 1 ) f ( x ) = f ( x 2 ) , {\color{#D61F06} f(x-1)f(x) = f(x^2)}, for all x x . (P.S., it’s more fun to derive this identity by studying the sixth roots of unity , and notice that both f ( x ) f(x) and f ( x 1 ) f(x-1) are cyclotomic polynomials .)

In particular, by taking x = 256 x = 256 , we have f ( 255 ) f ( 256 ) = f ( 25 6 2 ) = f ( 2 16 ) = set f ( n ) , f(255)f(256) = f(256^2) = f(2^{16}) \overset{\text{set}}{=} f(n), which means n = 2 16 n = 2^{16} as the function f : R R f: \mathbb{R} \longrightarrow \mathbb{R} defined by f ( x ) = x 2 + x + 1 f(x) = x^2 + x + 1 is strictly increasing for x 1 2 x \ge -\frac{1}{2} , namely, f f is one-to-one on [ 1 2 , ) [-\frac{1}{2}, \infty) .

Hence, the sum of all positive divisors of n n is σ ( n ) = 2 0 + 2 1 + 2 2 + + 2 16 geometric series = 2 17 1 = 131071 , \sigma(n) = \underbrace{2^0 + 2^1 + 2^2 + \cdots + 2^{16}}_{\text{geometric series}} = 2^{17} - 1 = \boxed{\mathbf{131071}}, which is in fact a Mersenne prime . (Here σ ( n ) \sigma(n) denotes the sum of all positive divisors of n n .)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...