Using the repeated squaring algorithm to calculate 2^300 mod 50.
Пікірлер: 174
@VFXCommander8 жыл бұрын
Perfect explanation, despite the twitching.
@richardblack15887 жыл бұрын
Diego de la Vega flickering
@Peachyj066 жыл бұрын
spasming
@Pixelynx6 жыл бұрын
orgasiming Wait... What were we doing?
@SurajKumar-bw9oi4 жыл бұрын
glitching
@arampathkushan28613 жыл бұрын
tweaking
@fzndn-xvii7 жыл бұрын
When a KZbin video explains explains better than your professor. Thanks!
@outlaws92957 жыл бұрын
Besides the occasional issues with the video itself, this was a very great demonstration. Excellent job!
@rcollins06188 жыл бұрын
Such a simple demonstration really beats trying to learn this from just reading formal notation. thank you very much! (I often have this trouble with discrete math - it's not hard stuff, I just get caught up in keeping all the variables in my head).
@outlaws92957 жыл бұрын
Exact same issue here, man. I took one look at this process (or at least a very similar one) in my textbook and it made little to no sense. Once I saw this video, the process became crystal clear. I know that the formal notation is mathematically correct, but it's usually not the best way to demonstrate a concept for the first time.
@FRANCISCORODRIGUEZ-vq2jj6 жыл бұрын
my professor wasn't able to teach me in a 3 hour class period what you just taught me in 11 min and 36 seconds. thank you so much!
@ZacMitton4 жыл бұрын
Or 5 minutes at 2x speed
@ianchen19624 жыл бұрын
@@ZacMitton haha
@ko-Daegu2 жыл бұрын
@@ZacMitton I watched at 1.5 while skipping
@MyOneFiftiethOfADollar9 ай бұрын
The difference is you did not sleep during this video AND of course it was your professor's fault for not being able to keep you awake. Be accountable for your own learning outcomes rather than blaming others.
@alexisreynolds4277 Жыл бұрын
Finally a good example! I looked at so many videos that didn't help before finding this one. Thank you!
@terriblast80767 жыл бұрын
One of the best tutorial I've watch..You discuss well
@sampugh64045 жыл бұрын
This just saved me on security homework. Thank you so much. Very cool concept
@joshuagroeschl70012 жыл бұрын
This is most stupendous indeed, I was struggling with this conceptually for some time before stumbling across this video. I appreciate you for taking the time to curate these works! Excellent example and explanation.
@deano50z5 жыл бұрын
Excellent video, followed along with a notepad and pen and understood it less than 10 mins later. Thanks pal!!
@amarthya.t98426 ай бұрын
Even after 9 years of upload this is just great demonstration. thank you mate.
@yaggikjalan3 жыл бұрын
This helped me so much for rsa algorithm questions! Thanks a million ☺
@jsteezeful4 жыл бұрын
This is so good it also makes me question my professor and their pathetic book that tries to explain this in 2 paragraphs.
@simonliu22687 жыл бұрын
Amazing thank you very much, I didn't understand my professors abbreviation of this, but you did a very VERY good job.
@NOSHEDMANTIS7 жыл бұрын
Great Video, clear explanation and good audio quality (essential).
@alexrobert46145 жыл бұрын
Best tutorial out there. My prof sucks. Took me 2 days to understand fully. Thank you
@psychedelicfungi9 жыл бұрын
One very helpful video! Thanks! (Unfortunately the screen flicker was really distracting)
@tonychen10837 жыл бұрын
Thank you for your excellent explanation!
@shinwoo_park4 жыл бұрын
it helps me a lot! thank you sir. What a nice lecture
@stea277 жыл бұрын
Very informative, easy to understand it in your demonstration. Thank you!
@monowar67236 жыл бұрын
Thanks a lot ! i will remember this video for the rest of my life.
@JoseSanchez-vv1zd7 жыл бұрын
Great job! Thanks for the clear explanation! :)
@user-vq1ef8kn9m6 жыл бұрын
That was an awesome explanation. Solved my problem~.
@memento_mori60195 жыл бұрын
Excellent breakdown. Thank you.
@SpookyRumi2 жыл бұрын
Amazing! You saved me so much time with this
@kdpoint42215 жыл бұрын
it took 3h to get a perfect explanation..... thanks a lot
@ianchen19624 жыл бұрын
dang that's so cool. Learned a lot from this
@sebastianrauch27583 жыл бұрын
Thanks for the good explanation. Realy helped a lot. :D
@rafsanjanimuhammod3098 жыл бұрын
Really Nice One, Sir !!!
@aries36902 жыл бұрын
Thank you so much for your clear explanation!
@Th1sUsernameIsNotTaken4 жыл бұрын
Thank you for this! other video's I've seen just completely skip steps or don't explain. Can't get a meeting with my teacher for a few days (online learning) and the book didn't explain any of the random jumping it was doing (didn't do steps, just jumped to the "solved" part). Now I can actually practice lol.
@harley3514 Жыл бұрын
Thank you, other videos on this were not making sense for me, but this did
@EndietheEnderman5 ай бұрын
Helped heaps! Thanks
@jonty35514 жыл бұрын
Great explanation man..... appreciate it🤝👍
@stephaniagambaroff8205 жыл бұрын
excellent explanation! Thank you.
@priyankmungra293 жыл бұрын
nice explanation. Thank you for your efforts.
@costerchimbwanda39369 жыл бұрын
saw the screen flickering..thought t was a problem with my pc..anyway was a great illustration
@hardinrami85004 ай бұрын
Thank you for the explanation! It took me a while to get it though.
@DVRhm252 жыл бұрын
I watched this drunk. It all makes sense. Nice work prof!
@shailendrakumar31305 жыл бұрын
Thanks man, searching for this information from mornimg
@anhminhtran34385 жыл бұрын
Very well explained. Thank you
@krgaming16504 жыл бұрын
Thank you, you saved my grade on today's exam.
@rajatsingh8143 Жыл бұрын
best explanatioon in the world saved me for exam
@SitWithItBob2 жыл бұрын
This helped a lot, thanks!
@b34amanahmed9 ай бұрын
He is brilliant and excellent Once look into this u will find ur solutions
@KoksMOks3 жыл бұрын
that alg is amazing AF
@RobinDuda2 жыл бұрын
Beautiful.
@ericstroud16 жыл бұрын
Great video!
@navyakakarlapudi61266 жыл бұрын
Nice explanation sir.Thank u so much......
@owaisali9954 жыл бұрын
really thankfull for this video.. great explanantion...
@tinkerbajwa2 жыл бұрын
wow I understood it right away! Thankyou so much...
@subizsunuwar70685 жыл бұрын
thanks sir ....it's help me, while calculating encryption of msg.
@dialamark78634 жыл бұрын
I loved it. Thank you
@matkenis30135 жыл бұрын
I was looking for modular exponentiation explanation all over youtube and it all pretty much was garbage. Thank you for actually explaining things ffs :)
@Chriib7 жыл бұрын
Cool trick. I will use this trick on my exam today.
@Just_an_alien15 жыл бұрын
Helped me a lot thank you
@ninjanothing83433 жыл бұрын
Thank you very much! Very helpful
@meysamamini94733 жыл бұрын
Was very vary useful Thanks a Lot !
@AlexandrBorschchev4 жыл бұрын
Im grade 9 learning this for a math contest. It looks crazy useful and really really cool, i want to know how to master this. Thank you for the video.
@AlexandrBorschchev2 жыл бұрын
haha, cool story buddy.
@KhandkarAsifHossain5 жыл бұрын
Awesome video. But I am having trouble finding the mod with high base number such as 26^37 mod 77 can u help with that. 26^8 seems to pose a problem.
@vineet10348 жыл бұрын
what happen if base is 132 or bigger
@ketanbhalerao17956 жыл бұрын
Damn Good ! Thanks a Bunch, man !!
@EasiestTutor9 ай бұрын
thank you rhabk you i was struggling this was best and easiest
@Sahandkeshavarz6 жыл бұрын
how would i do that if my exponent is greater than 255 then i wont be able to convert to binary
@lilbpack21005 жыл бұрын
brilliant. thank you!!
@MichelleVo9 жыл бұрын
How did you figure out the binary for 200 from scratch?
@hungryghost55895 жыл бұрын
great video, thanks
@nikhilchoudhary2774 жыл бұрын
WOOOOOWWWWW! What an Explainantion
@kriswalsh10202 жыл бұрын
On the step where you do 200+128+64+8 how'd you get the 64 and 8. I have a question similar but it's 221.
@mdmuktadirmazumder2843 жыл бұрын
love you 3000mod3000
@jiaxinli16744 жыл бұрын
Thanks for saving my ICS 6D
@syednawaid69808 жыл бұрын
nice explanation.....
@urensoft66628 жыл бұрын
you are just awesome...
@ramkumarnj76176 жыл бұрын
Excellent!
@swordclash66185 жыл бұрын
The explanation is A+ but the screen flickering almost made me go nuts.
@directx8724 жыл бұрын
This is so fucking awesome. I now have *the power to compute*
@zanonymousruiz96973 жыл бұрын
This saved my entire ass- Thanks!
@beasty459 жыл бұрын
Thank you , Thank you, Thank you!!!!
@iuseyoutubealot Жыл бұрын
u are a legend
@cbabrunal Жыл бұрын
In a few minutes you explain what my university professor couldn't in months
@TariqAbdulGhani-kt1nk Жыл бұрын
very helpful thank u🙂
@ayaanpuri56975 жыл бұрын
lots of really large exponents' modulos are equal to 1 by fermat's little theorem
@DanielVazquez5 жыл бұрын
Is there a shorter way? I mean, I just had a test and I was expected to solve 2^75 (mod 73) in one minute or so.
@tanishqraina36565 жыл бұрын
Well go ahead and use binomial theorem
@zaferkhourdaji19586 жыл бұрын
Best Explanation
@salounik.28947 жыл бұрын
AMAZING!!!!!!
@SHIVASURYA8 жыл бұрын
really useful one :)
@maidul134 жыл бұрын
Thank you!
@Mohammed-hw4kz7 жыл бұрын
I love you, thanks! That 6 marks :)
@rishabhbharti74916 жыл бұрын
Crystal clear.
@larsmees49524 жыл бұрын
Wouldn't it be faster to first perform a modular division using the same value (50) on the exponent? 2^(200 mod 50) = 2^0 = 1 Or is this just a coincidence?
@abhigyanraha56205 жыл бұрын
wow! amazing.
@mohammadahmedragab8372 жыл бұрын
great explanation. please, in the last part of the video, Why 3751 mode 50? Should 3751 the answer of 3^200 mode 50 ? I need to understand this more
@MotorHeadTech8 жыл бұрын
I don't get the 31 and 11 parts I get everything else tho please help
@dominikchynoradsky42284 жыл бұрын
amazing, thanks
@stanger89925 жыл бұрын
Ok that is kinda obvious but i have an exam soon where i will have to calculate 30 of such numbers without using calculator, and it has to take max 10 min because it's one of 18 excersises on that exam. How do i go about solving for example 33^350 mod 7 in 20 seconds, using only pen and paper?
@cameronsaunders90204 ай бұрын
The flicking is really bothering my eyes lol
@ScotMatson9 жыл бұрын
This video is so thorough and one of the better ones I have come across but that screen flicker practically ruins it for me, it is really dizzying by the end. Such a shame! Thanks for taking the time to put this together otherwise, my book cannot nearly present this concept in such a clean fashion as you have here.
@skurt219 ай бұрын
I found a problem, and since nobody mentioned it in 9 year, it's probably on my side. I follow the remainders or moduli (?sorry) for powers up to 32. But according to my calculations 5 to the power of 64 mod 50 is 20 and not 31 as you mention. Am I really wrong? I calculated it in powershell
@skurt219 ай бұрын
yep, I'm the problem, sorry. I have no idea what I did wrong, but I'm getting the same numbers as you do now. Sorry (y)
@jeffryyapin13999 жыл бұрын
One Question How about if the exponent was smaller then 128. for example 120 did we need to know the 128bit??
@sgut19479 жыл бұрын
+Jeffry Yapin No, you don't need the 128, because 120 = 64+32+16+8 (binary 1111000). In general, you only need up to the power of two that's less than the required exponent.