A very big number

Find the maximum integral value of n n such that 2 n 2^n divides 3 2 2017 1. \Large 3^{2^{2017}}-1.


The answer is 2019.

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.

4 solutions

Sharky Kesa
Jan 15, 2017

We will prove the general case 3 2 x 1 3^{2^x} - 1 . We use the Difference of Perfect Squares identity to factorise this expression:

3 2 x 1 = ( 3 2 x 1 + 1 ) ( 3 2 x 1 1 ) = ( 3 2 x 1 + 1 ) ( 3 2 x 2 + 1 ) ( 3 2 x 2 1 ) = ( 3 2 x 1 + 1 ) ( 3 2 x 2 + 1 ) ( 3 2 + 1 ) ( 3 + 1 ) ( 3 1 ) \begin{aligned} 3^{2^x} - 1 &= (3^{2^{x-1}} + 1) (3^{2^{x-1}} - 1)\\ &= (3^{2^{x-1}} + 1)(3^{2^{x-2}}+1)(3^{2^{x-2}}-1)\\ &= (3^{2^{x-1}} + 1)(3^{2^{x-2}}+1) \ldots (3^2 + 1) (3+1)(3-1) \end{aligned}

Notice that each bracket to the left of ( 3 + 1 ) (3+1) are equivalent to 2 ( m o d 4 ) 2 \pmod{4} , so 2 divides each of those brackets, but 4 does not. There are x 1 x-1 terms, so at least 2 x 1 2^{x-1} divides 3 2 x 1 3^{2^x} - 1 . Also, ( 3 + 1 ) ( 3 1 ) = 2 3 (3+1)(3-1)=2^{3} , so we must have 2 x + 2 3 2 x 1 2^{x+2} \mid 3^{2^x}-1 . Thus, the maximum value of n n is x + 2 x+2 .

Substituting x = 2017 x=2017 , we get n = 2019 n=\boxed{2019} .


Quick, slick solution:

We use the Lifting the Exponent Lemma.

v 2 ( 3 2 x 1 ) = v 2 ( 3 + 1 ) + v 2 ( 2 x ) = x + 2 v_2 (3^{2^{x}} - 1) = v_2 (3 + 1) + v_2 (2^x) = x+2

Thus, n = 2019 n=2019 .

I tried to formulate it using binomial expansion first. This is how I did it:

3 2 2017 1 = ( 2 + 1 ) 2 2017 = ( 2 2017 0 ) 2 2 2017 + ( 2 2017 1 ) 2 2 2017 1 + ( 2 2017 2 ) 2 2 2017 2 + + + ( 2 2017 2 2017 1 ) 2 + ( 2 2017 2 2017 ) 1 \begin{aligned} 3^{2^{2017}} - 1 &=& {(2+1)}^{2^{2017}} \\ \\ &=& \dbinom{2^{2017}}{0} 2^{2^{2017}} + \dbinom{2^{2017}}{1} 2^{2^{2017}-1} + \dbinom{2^{2017}}{2} 2^{2^{2017}-2} + \\ & & + \cdots + \dbinom{2^{2017}}{2^{2017} - 1} 2 + \cancel{\dbinom{2^{2017}}{2^{2017}}} - \cancel{1} \\ \end{aligned}

As you can see from this,the maximum exponent of 2 that divides the expression above was 2018 based on my calculations by this method.

But because the answer was wrong, I decided to use the Lifting Exponent Lemma and then I got the correct answer.

I do not see the fluke in my binomial approach. What according to you might be the reason that my original approach was giving me the wrong answer?

Tapas Mazumdar - 4 years, 4 months ago

Log in to reply

You forgot that 2 2018 ( 2 2017 2 2017 2 ) 4 2^{2018} \mid \mid \dbinom{2^{2017}}{2^{2017}-2} 4 .

Sharky Kesa - 4 years, 4 months ago
Sudhamsh Suraj
Jan 29, 2017

3^x=(4-1)^x . So, expanding (4-1)^x =(4^x) - (4^x-1)x+.......+(-1)^x In this case as x is even so (-1)^x is 1 So, there fore.
(4-1)^x - 1 will be 4^x - x(4^x-1)+....-4x So, 4x is common in each term so it is divisible by 4x As x=2^2017, So 4x =2^2019 So finally we get n= 2019

Ashish Gupta
Feb 8, 2017

Reynan Henry
Jan 29, 2017

direct use of lifting the exponent theorem

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...