Modular Exponentiation (Part 2)

  Рет қаралды 160,066

Neso Academy

Neso Academy

Күн бұрын

Пікірлер
@jumokeadekunle6049
@jumokeadekunle6049 Жыл бұрын
Thank so much. You are amazing. Ive tried all sort of materials and videos but couldn't get a better explanation like you did in this video. You are an outstanding teacher.
@justpaulo
@justpaulo 3 жыл бұрын
In the (88⁷ mod 187) it's easier if you realize that both numbers are divisible by 11, i.e. 88=8*11 and 187=17*11. So one needs to solve a much easier problem which is (8⁷ × 11⁶ mod 17) ≡ (8¹8²8⁴ × 11²11⁴ mod 17) ≡ 8(-4)(-1) × (-2)(4) mod 17 ≡ (32) × (8) mod 17 ≡ (-2) × (8) mod 17 ≡ (-16) mod 17 ≡ -(-1) mod 17 ≡ 1 mod 17. Because N = D*Q + R ⇒ R = N - D*Q. If we divided the RHS by 11, for the equation to remain true the LHS (the remainder) must be divided by 11 too. That means that if the remainder of (8⁷ × 11⁶ ÷ 17) = 1 then the remainder of (88⁷ ÷ 187) = 1 × 11. Therefore (88⁷ mod 187) ≡ 11 mod 187
@nazansari9902
@nazansari9902 Жыл бұрын
You're awesome
@v_three3593
@v_three3593 4 ай бұрын
Well but the answer is 88
@selvareegan3241
@selvareegan3241 3 жыл бұрын
sir your session is excellent.... no way to say about your session... amazing teaching ever in my life. It is helping my teaching professional. sir one request please update upcoming session soon... we are waiting..... Thank you so mauch.
@vigneshreddy1213
@vigneshreddy1213 7 ай бұрын
This video is much helpful for solving modular related problems like return with mod 1000000007
@monicabattacharya6416
@monicabattacharya6416 3 жыл бұрын
please upload videos of the network security daily 🙏🏼 because we are having this subject in our current semester
@earthsganaexplode
@earthsganaexplode 5 күн бұрын
I finally understand this. Thank you!
@devpriyashivani1855
@devpriyashivani1855 Жыл бұрын
1. 11^23 mod 187 = ? 11^1 mod 187 = 11 11^2 mod 187 = [(11^1) * (11^1)] mod 187 = (11*11) mod 187 = 121 11^4 mod 187 = [(11^2) * (11^2)] mod 187 = (121*121) mod 187 = 55 11^16 mod 187 = [(11^2) * (11^2) * (11^2) * (11^2)] mod 187 = (55*55*55*55) mod 187 = 154 11^23 mod 187 = [(11^16) * (11^4) * (11^2) * (11^1)] mod 187 = (154*55*121*11) mod 187 = 88 Ans 2. 175^209 mod 1000 = ? 175^1 mod 1000 = 175 175^2 mod 1000 = [(175^1) * (175^1)] mod 1000 = (175*175) mod 1000 = 625 175^4 mod 1000 = [(175^2) * (175^2)] mod 1000 = (625*625) mod 1000 = 625 175^8 mod 1000 = [(175^4) * (175^4)] mod 1000 = (625*625) mod 1000 = 625 175^16 mod 1000 = [(175^8) * (175^8)] mod 1000 = (625*625) mod 1000 = 625 175^32 mod 1000 = [(175^16) * (175^16)] mod 1000 = (625*625) mod 1000 = 625 175^64 mod 1000 = [(175^32) * (175^32)] mod 1000 = (625*625) mod 1000 = 625 175^128 mod 1000 = [(175^64) * (175^64)] mod 1000 = (625*625) mod 1000 = 625 175^209 mod 1000 = [(175^128) * (175^64) * (175^16) * (175^1)] mod 1000 = (625*625*625*175) mod 1000 = 375 Ans
@freakpunk8178
@freakpunk8178 Жыл бұрын
how did you calculate (625*625*625*175) my calculator is not processing it🥲🥲
@samirasultanamysha1792
@samirasultanamysha1792 Жыл бұрын
@@freakpunk8178 coming zero .. why
@foxdeveloper7707
@foxdeveloper7707 6 ай бұрын
for calculator sake u can change the last step to 175^209 mod 1000 = [(175^128) * (175^64) * (175^16) * (175^1)] mod 1000 = (375*375*375*175) mod 1000 = 375 Ans 625 mod 1000 == 375 mod 1000 😁
@ayushjha330
@ayushjha330 3 жыл бұрын
thank you sir, you are a life saver.
@DeanLouie-t1x
@DeanLouie-t1x Жыл бұрын
Beautiful instruction. Just remember: 26/6 is 6 into 26: and 6x26 is 6 times 26, or 6 by 26.
@utilizator1701
@utilizator1701 3 жыл бұрын
1. 99 mod 187. 2. 375. Also, I really liked the fact that it was told to compare a and p-a mod p in order to do a fast calculation.
@YouWoWKidz
@YouWoWKidz Жыл бұрын
11^2 mod 187 will be -66 or 121 11^4 mod 187 will be 55 or -132 11^8 mod 187 will be 33 or -154 11^16 mod 187 will be -33 or 153 So 11^23 will be 88 or -99
@PriyankaSingh-bw9ct
@PriyankaSingh-bw9ct 3 жыл бұрын
Sir, I think you should also provide answers of the homework ques …it will be easier than.
@armanlalani
@armanlalani 2 жыл бұрын
11²³ mod 187 = 88 Last 3 digits of 175²⁰⁹ = 375
@informative180
@informative180 2 жыл бұрын
i think it would be 625 instead of 375
@ZingatSidLive
@ZingatSidLive 8 ай бұрын
88 or -99 1st one
@tehreem6arshad435
@tehreem6arshad435 3 жыл бұрын
please complete this lectures.
@oddipyloris5329
@oddipyloris5329 9 ай бұрын
I've been asked to solve: 78^859 mod 1829. Even after watching this video I'm having a hard time as to how to step through this problem. Any advice?
@Student_Wang
@Student_Wang 2 жыл бұрын
Thank you very much
@oxtonofficial
@oxtonofficial Жыл бұрын
WATCHED THIS 6 TIMES, STILL HAVE NO CLUE
@nazansari9902
@nazansari9902 Жыл бұрын
That's sad
@yegnanarayana
@yegnanarayana 3 ай бұрын
Will you please explain how to solve 3^5^3^5 mod35
@marzipane9182
@marzipane9182 2 жыл бұрын
11^23 mod 187 => 88; When i solved first i got 108; due to i used -66 instead of 121; minus confused me; at the 2nd example -> i got pretty straightforward answer -> 375; as it's everywhere 625
@YouWoWKidz
@YouWoWKidz Жыл бұрын
11^2 mod 187 will be -66 or 121 11^4 mod 187 will be 55 or -132 11^8 mod 187 will be 33 or -154 11^16 mod 187 will be -33 or 153 So 11^23 will be 88 or -99
@princepiyushsingh5758
@princepiyushsingh5758 2 жыл бұрын
Homework Question Solution: Ans. 1. (11)^23 mod 187 = 88 Ans.2. last three digit of (175)^209 will be 375
@Butcher_4
@Butcher_4 Жыл бұрын
hey i confused at last steps can i get the hw steps
@fawazhussain1186
@fawazhussain1186 Жыл бұрын
Best. Thanks a lot, sir.
@darkcoder6504
@darkcoder6504 2 жыл бұрын
In video instructor says "Don't use the calculator" but i coded python program for solving example haha. python code. exp = 1 num = 88 ans = 1 while (exp != 8): ans *= num exp = exp + 1 mod = ans % 187 print(mod)
@shivasai7707
@shivasai7707 11 ай бұрын
Try writing for large numbers in c++ or java
@mohdehtesham8357
@mohdehtesham8357 5 ай бұрын
@@shivasai7707 Segmentation error goes BRRRR
@hunorfekete7413
@hunorfekete7413 5 ай бұрын
He keeps saying don't use calculator while im seeing this to write into a calculator Anyway very good explanation
@bintech3837
@bintech3837 2 жыл бұрын
1st answer is 88
@anuragdubey285
@anuragdubey285 2 жыл бұрын
No answer is -88 But in answer we can write 99mod187
@pujanprajaprati7533
@pujanprajaprati7533 2 жыл бұрын
in example 2 how you are calculating negative values ?
@Utkarshkushwaha-ld8xh
@Utkarshkushwaha-ld8xh 2 ай бұрын
Sir you did not talk about calculation of mod ? Why
@TamiaMchunu
@TamiaMchunu 2 ай бұрын
Thank you 💫💫💫
@nimartamandhan431
@nimartamandhan431 9 ай бұрын
I can't get it that how are you taking the base in negative sign? and why? how did you change the value?
@silviapaolaherrerapasos5410
@silviapaolaherrerapasos5410 6 ай бұрын
Why do you take mod 100 in the example 29^5 (mod100 )??
@motivation_with_harsh
@motivation_with_harsh Жыл бұрын
answer of 1st question is -> 88 answer of 2nd question is -> 375
@SagarBhanushali-r6k
@SagarBhanushali-r6k 9 ай бұрын
11:32 how we got -51 form -551?? @neso
@ΝικοςΑνδριοπουλος-η6ν
@ΝικοςΑνδριοπουλος-η6ν Жыл бұрын
and how exactly are we supposed so think those different strategies ourselves? apparently there is not one-size fits all
@sagarmali4179
@sagarmali4179 2 жыл бұрын
88 and 375 are the correct answers.
@agbaiobasi7390
@agbaiobasi7390 10 ай бұрын
You are correct, but how did you solve for the second one please?
@okoegualeeromosele1924
@okoegualeeromosele1924 Жыл бұрын
Sir can you please point me to a website or document where I can find different practice questions?
@omkarshinde3767
@omkarshinde3767 2 жыл бұрын
1. 88, 2. 375
@ruhinpatel7257
@ruhinpatel7257 3 жыл бұрын
My ans for 11^23 mod 187 is 3. Is it correct? 3 or 88mod17
@ruhinpatel7257
@ruhinpatel7257 3 жыл бұрын
And my second ans is 3or - 5.. I think I am doing it wrong. Can anyone verify?
@vmarzein
@vmarzein 3 жыл бұрын
@@ruhinpatel7257 i used calculator and i got 11^23 mod 187 = 88
@shadmanfatin777
@shadmanfatin777 Жыл бұрын
Thankyou!
@monicabattacharya6416
@monicabattacharya6416 3 жыл бұрын
please 🙏🏼🙏🏼🙏🏼complete 🙏🏼😢❤😭😫java programming 🙏🏼😢course
@taimurchaudhry6135
@taimurchaudhry6135 2 жыл бұрын
how can we find 30^1000 using binary exponentiation
@patelurva1055
@patelurva1055 Жыл бұрын
thnx
@vamshi.k9786
@vamshi.k9786 3 жыл бұрын
Please teach c++
@rajeshprajapati1851
@rajeshprajapati1851 3 жыл бұрын
It is available.
@m.p.prajwal3729
@m.p.prajwal3729 Жыл бұрын
bro how did u get -59 ?
@ZingatSidLive
@ZingatSidLive 8 ай бұрын
And 2nd 375 😊
@antwiboasiakoemmanuel3053
@antwiboasiakoemmanuel3053 2 жыл бұрын
Q1. 99 or -88 Q2. 375
@donthusravya2026
@donthusravya2026 3 жыл бұрын
what is the answer for 11^23 mod 187??
@LAKSHMINARAYANANDE
@LAKSHMINARAYANANDE 2 жыл бұрын
17
@harshwardhanattri4171
@harshwardhanattri4171 2 жыл бұрын
88
@karthimath2559
@karthimath2559 2 жыл бұрын
Sir why u put the last digit sum using mod 100
@arvasugupta
@arvasugupta 2 жыл бұрын
3 mod 10 gives last digit of i.e 3 itself, 12 mod 10 leads 2 which is its last digit, 2457 mod 100 leads to 57 which leads to 57 as its last two digits
@kyanitekirin5178
@kyanitekirin5178 Жыл бұрын
My brain clicked at 4:40 while I was applying this logic to a particularly difficult problem (for myself... as I've never done this before) The problem I was solving was 2116^17 mod(3233) if anyone was wondering... That was my **first** problem I tried to solve. Yes, I do hate myself.
@ashbrightsamuel2307
@ashbrightsamuel2307 8 ай бұрын
idk where I am wrong or there is an error (5929 mod 187=12)
@ISTP-TCatboy
@ISTP-TCatboy 5 ай бұрын
Do you mean that 539 mod 17 = 12
@rajeshprajapati4863
@rajeshprajapati4863 2 жыл бұрын
Answer to H.W : I used Simple Calculator. 1. 88 2. 375
@NoNonSense-p1i
@NoNonSense-p1i 9 ай бұрын
hw ques1=88?
@imnotadriananymore
@imnotadriananymore Жыл бұрын
88 and 375
@krishnaprasanna6741
@krishnaprasanna6741 Жыл бұрын
Second answer is 625
@ushasree5682
@ushasree5682 Жыл бұрын
3^48 mod 257???
@yogeshgowda2774
@yogeshgowda2774 Жыл бұрын
216^2011 mod 3127
@sheetaljain4984
@sheetaljain4984 2 жыл бұрын
How 841%100 = -59 ?
@DEEPAK-td6qw
@DEEPAK-td6qw 2 жыл бұрын
841 mod 100 = 41 mod 100 = 41 0r -59
@alt.redwanahmed5310
@alt.redwanahmed5310 2 жыл бұрын
ultenative
@AsimKhan-kn5or
@AsimKhan-kn5or 10 ай бұрын
Anyone how 7744 mod 187 = 77
@yc8675
@yc8675 2 жыл бұрын
印度人 我的超人
@stacydevries4241
@stacydevries4241 11 ай бұрын
Zero and zero sadly i give wrong answer.
@RishitBirole-x1n
@RishitBirole-x1n 7 ай бұрын
Such a shiity explain ATI
GCD - Euclidean Algorithm (Method 1)
14:38
Neso Academy
Рет қаралды 595 М.
Modular Exponentiation (Part 1)
10:20
Neso Academy
Рет қаралды 373 М.
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 58 МЛН
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 4,9 МЛН
Modular exponentiation
11:37
GVSUmath
Рет қаралды 290 М.
The Chinese Remainder Theorem (Solved Example 1)
14:22
Neso Academy
Рет қаралды 603 М.
Modular Arithmetic (Part 1)
10:57
Neso Academy
Рет қаралды 361 М.
Exploring How Computers Work
18:12
Sebastian Lague
Рет қаралды 3,5 МЛН
Fermat's Little Theorem
7:31
Neso Academy
Рет қаралды 243 М.
Square & Multiply Algorithm - Computerphile
17:35
Computerphile
Рет қаралды 279 М.
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН