in Combinatory retagged by
18,054 views
19 votes
19 votes
The value of $3^{51} \text{ mod } 5$ is _____
in Combinatory retagged by
by
18.1k views

4 Comments

@KUSHAGRA गुप्ता How did you took 51’s binary form and took it to 3’s power? can you explain why that works?

0
0

This is the same calculator btw. For this specific question we can get the answer. 

5
5
Perfect use of brain 🧠
3
3

18 Answers

25 votes
25 votes
Best answer
$3^{51} \text{ mod } \: 5 = (3^3)^{17} \: \text{ mod } \: 5 = (27)^{17} \: \text{ mod } \: 5 = (27 \text{ mod } 5)^{17} \text{ mod } 5 = 2^{17} \text{ mod } 5 = 131072 \: \text{ mod } 5 = 2$
edited by

4 Comments

can we use cyclicity concept here? cz m getting same ans from there too
0
0

@MANSI_SOMANI Anything that works for you given that it is correct

0
0

@Aditya_Ok ,thanks for confirmation 

0
0
65 votes
65 votes

By using Fermat's Little Theorem, if $p$ is a prime number, then

$a^{p-1} \equiv 1 \text{ mod } p$.

$a^{p-1} \text {mod}  p=1$

So, $3^{4} \text{ mod } 5 = 1 $.

$3^{48} \text{ mod } 5 = 3^{12 \times 4} \text{ mod } 5 =1 $.

Now $3^{51} \text{ mod } 5 = (3^{48} \text{ mod } 5) \times (3^3 \text{ mod } 5 )= 3^3 \text{ mod } 5 = 27 \text{ mod } 5= 2$

edited by
21 votes
21 votes

Using Remainder theorem:

Euler totient number $\phi (5)=4$

Given $\dfrac{3^{51}}{5}$, now $\dfrac{3^{51\:\text{mod}\: 4}}{5}= \dfrac{3^{3}}{5}$

Given number is reduced to $\dfrac{27}{5}=2\:\text{(remainder)}$

Hence 2 is correct answer

edited by

1 comment

This should be the best answer here.
3
3
12 votes
12 votes
$3^{51}\ mod\ 5$

= $3^{(4*12)+3}\ mod\ 5$

= $(3^{(4*12)} * 3 ^ 3)\ mod\ 5$

=$(3^{(4*12)}\ mod\ 5 )* (3 ^ 3\ mod\ 5) $

=$(3^{4}\ mod\ 5 )^{12}* (3 ^ 3\ mod\ 5) $

=$(81\ mod\ 5 )^{12}* (27\ mod\ 5) $

=$1^{12}*2$

=$2$
edited by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true