3 2 3 2 3 2 is divided by 7 ?
What is the remainder when
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.
Notation: R ( b a ) =Remainder when a is divided by b .
R ( 7 3 2 3 2 3 2 ) = R ( 7 4 3 2 3 2 ) Now R ( 3 3 2 3 2 ) = R ( 3 2 3 2 ) = R ( 3 2 2 1 6 ) = 1 ⇒ 3 2 3 2 = 3 n + 1 ⇒ R ( 7 4 3 2 3 2 ) = R ( 7 4 3 n • 4 ) = 4 ⇒ R ( 7 3 2 3 2 3 2 ) = 4
how did u write 32^32 = 3n+1 ?
Log in to reply
Because he wrote that " Now R(32^32/3)=...=1 " That means, it equals to 3n+1 for some n, when n is a positive integer. Hint : Division Algorith
2 x 1 = 2 (2^1) 2 x 2 = 4 (2^2) 4 x 2 = 8 (2^3) 8 x 2 = 16 (2^4) 16 x 2 = 32 32 x 2 = 64 64 x 2 = 128 128 x 2 = 256 256 x 2 = 512 (2^9)
the end digits are 2,4,8,6,2,4,8,6...
take note of the pattern of the remainders at the above sequence when divided by 7 when exponents are increased
2, 4, 1, 2, 4, 1, 2, 4, 1, 2, ...
at 2^32 the remainder, count 32 starting from 2,4,1,2,4,1,... you will arrive ar 4
same when 32 is raised to the power of 1 to 32, the above patterns goes the same
so the answer will be 4
does this method work for every no.?
I dont understand others solution. I used this logic. Is there any wrong?
(32 x 32 x 32 x 32 x ........32^32 times)/7 can be written as
(32/7) x (32 x 32 x 32 x........(32^32 - 1) times).
32/7 leaves remainder as 4. The second part has no remainder. That's what I understood.
No. You're absolutely right : )
By that logic, the remainder will come out as 0 since if the second part has no remainder, then the expression becomes ≡ 4 × 0 ≡ 0 ( m o d 7 ) which isn't the case here. Your logic is flawed in my opinion.
I can't think of any method other than using Fermat's little theorem's generalization to solve this problem though.
32^32^32 -- 2^5^2^5^2^5
=> 2^800
(2^x)/7 has a cyclicity or repeatability of 3. That is (2^1)/7 - 2, (2^2)/7- 4, (2^3)/7 - 1 .....
Hence (2^800)/7 boils down to the same as (2^2)/7 which is 4.
Every 4th power of 32 leaves remainder 4 when divided by 7
32^32^32 looks quite daunting
Rof 32^32^32 when divided by 7 = Rof 4^32^32 by 7 as 28+4 = 32 4^32^32 =Rof 4 ^ (3k + 1) = Rof 4 ^3k * Rof 4 ^1 = 1 * 4 = 4 Hence Answer
Problem Loading...
Note Loading...
Set Loading...
By Fermat's little theorem states that if p is prime and m and n are positive integers such that m ≡ n ( m o d p − 1 ) then for every integer a we have a m ≡ a n ( m o d p ) .
Since 7 is prime , to solve the problem, 3 2 3 2 3 2 ≡ x ( m o d 7 ) we first solve for n in 3 2 3 2 ≡ n ( m o d 6 ) .
3 2 3 2 ≡ ( 3 0 + 2 ) 3 2 ≡ 2 3 2 ≡ 2 5 6 4 ≡ 4 4 ≡ 2 5 6 ≡ 4 ( m o d 6 )
3 2 3 2 3 2 ≡ 3 2 4 ( m o d 7 ) ⇒ 3 2 4 ≡ ( 2 8 + 4 ) 4 ≡ 4 4 ≡ 2 5 6 ≡ 4 ( m o d 7 )