High power divison by 7

3 2 32 32 \Large 32^{{32}^{32}}

What is the remainder when the number above is divided by 7?

1 4 2 0

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
Aug 25, 2017

Relevant wiki: Euler's Theorem

3 2 3 2 32 ( 28 + 4 ) 3 2 32 (mod 7) 4 3 2 32 mod ϕ ( 7 ) (mod 7) Since gcd ( 4 , 7 ) = 1 , Euler’s theorem applies. 4 3 2 32 mod 6 (mod 7) Euler’s totient function ϕ ( 7 ) = 6 4 ( 30 + 2 ) 32 mod 6 (mod 7) 4 2 32 mod 6 (mod 7) 4 4 (mod 7) See note for 2 32 mod 6 = 4 2 8 (mod 7) ( 2 3 ) 2 ( 2 2 ) (mod 7) ( 7 + 1 ) 2 ( 4 ) (mod 7) 4 (mod 7) \begin{aligned} 32^{32^{32}} & \equiv (28+4)^{32^{32}} \text{ (mod 7)} \\ & \equiv 4^{\color{#3D99F6} 32^{32} \text{ mod }\phi(7)} \text{ (mod 7)} & \small \color{#3D99F6} \text{Since }\gcd(4,7) = 1 \text{, Euler's theorem applies.} \\ & \equiv 4^{\color{#3D99F6} 32^{32} \text{ mod }6} \text{ (mod 7)} & \small \color{#3D99F6} \text{Euler's totient function }\phi (7) = 6 \\ & \equiv 4^{\color{#3D99F6} (30+2)^{32} \text{ mod }6} \text{ (mod 7)} \\ & \equiv 4^{\color{#3D99F6} 2^{32} \text{ mod }6} \text{ (mod 7)} \\ & \equiv 4^{\color{#3D99F6}4} \text{ (mod 7)} & \small \color{#3D99F6} \text{See note for } 2^{32} \text{ mod }6 = 4 \\ & \equiv 2^8 \text{ (mod 7)} \\ & \equiv (2^3)^2(2^2) \text{ (mod 7)} \\ & \equiv (7+1)^2(4) \text{ (mod 7)} \\ & \equiv \boxed{4} \text{ (mod 7)} \end{aligned}


Note: Since gcd ( 2 , 6 ) 1 \gcd(2,6) \ne 1 , we use Chinese remainder theorem as follows:

2 32 0 (mod 2) 2 32 2 n where n is an integer. 2 32 ( 2 3 ) 10 ( 2 2 ) (mod 3) ( 9 1 ) 10 ( 4 ) (mod 3) ( 1 ) 10 ( 1 ) (mod 3) 1 (mod 3) 2 n 1 (mod 3) n 2 2 32 2 n 4 (mod 6) \begin{aligned} 2^{32} & \equiv 0 \text{ (mod 2)} \\ \implies 2^{32} & \equiv 2n & \small \color{#3D99F6} \text{where }n \text{ is an integer.} \\ 2^{32} & \equiv (2^3)^{10}(2^2) \text{ (mod 3)} \\ & \equiv (9-1)^{10}(4) \text{ (mod 3)} \\ & \equiv (-1)^{10}(1) \text{ (mod 3)} \\ & \equiv 1 \text{ (mod 3)} \\ \implies 2n & \equiv 1 \text{ (mod 3)} \\ \implies n & \equiv 2 \\ \implies 2^{32} & \equiv 2n \equiv 4 \text{ (mod 6)} \end{aligned}

Sir, How can i add wiki to the problem i have posted? Please, help me !

Naren Bhandari - 3 years, 9 months ago

Log in to reply

Put a square brackets "[title]" with the link title then followed by round brackets with link address "(link address)" without a space.

Chew-Seong Cheong - 3 years, 9 months ago

Log in to reply

@Chew-Seong Cheong , Thank you so much Sir,. Can you help me to remove the post named Algebra on my profile ? I tried to create a set but it git shared which is null. So what should i do to remove it? Or, Can you aid to remove (delete)it? Thank you Sir ! :)

Naren Bhandari - 3 years, 9 months ago

Log in to reply

@Naren Bhandari But I can't do it. I think only you, who created the set, and the administrator can remove it.

Chew-Seong Cheong - 3 years, 9 months ago

Log in to reply

@Chew-Seong Cheong Sir, What should i do to remove? I tried to unshare or remove but i'm not getting such remove or delete option. :)

Naren Bhandari - 3 years, 9 months ago

@Calvin Lin Sir, please help me to remove the shared post named Algebra on my profile which is vacant. This happened when i tried to create a set but mistakenly it got shared. Hoping you will helping me to remove it.

Thank you ! 😊

Naren Bhandari - 3 years, 9 months ago
Naren Bhandari
Aug 25, 2017

Using Euler's Theorem. a ϕ ( n ) 1 m o d ( n ) \large a^{\phi(n)}\equiv 1\space\mod\space(n) Where ϕ ( n ) \phi(n) is the total number of integers 1 , 2 , 3... n {1,2,3...n} which are not divisible with n n

Now let's try using above theorem. n = 7 n = 7 ϕ ( n ) = 6 \phi(n) = 6 since 7 7 is prime number and numbers not divisible with n n are 1 , 2 , 3 , 4 , 5 , 6 , {1,2,3,4,5,6,} and 7 7 is excluded as it is divisible by 7 7 so ϕ ( n ) = 6 \phi(n) = 6 writing the modular equation in Euler theorem. 3 2 ϕ ( 7 ) 1 m o d ( 7 ) \large 32^{\phi(7)} \equiv 1 \space \mod\space(7) 3 2 6 1 m o d ( 7 ) \large 32^{6} \equiv 1 \space \mod\space(7) Which means when 3 2 6 32^{6} is divided by 7 7 it remainder is 1 1 . We have 3 2 1024 32^{1024} whose remainder has to be calculated and 1024 1 m o d ( 7 ) 1024\equiv 1 \space \mod \space(7)

Now 3 2 1024 = 3 2 1 4 m o d ( 7 ) 32^{1024} = 32^1 \equiv 4 \space\mod\space(7) Hence the remainder is 4 \boxed{4}

Note : General formula to calculate ϕ ( n ) \phi(n) is ϕ ( n ) = [ ( 1 1 p 1 ) . ( 1 1 p 2 ) ( 1 1 p k ) ] n \phi(n) = \left[ \left(1 - \frac{1}{p_1}\right). \left(1-\frac{1}{p_2}\right)\cdots\left(1 - \frac{1}{p_k}\right)\right]n

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...