Uploaded October 2013 | Updated September 2026, 2 weeks ago
See complete series on maths problems here:
youtube.com/playlist?list=PL2_aWCzGMAwLL-mEB4ef20f3iqWMGWa25
In this lesson, we will discuss Euclid's algorithm which is an efficient ancient algorithm to find out greatest common divisor (GCD) of two numbers.
For practice problems and more, visit: mycodeschool.com
Like us on Facebook: facebook.com/MyCodeSchool
Follow us on twitter: twitter.com/mycodeschool
See complete series on maths problems here:
youtube.com/playlist?list=PL2_aWCzGMAwLL-mEB4ef20f3iqWMGWa25
In this lesson, we will discuss Euclid's algorithm which is an efficient ancient algorithm to find out greatest common divisor (GCD) of two numbers.
For practice problems and more, visit: mycodeschool.com
Like us on Facebook: facebook.com/MyCodeSchool
Follow us on twitter: twitter.com/mycodeschool
![Verify a Prime number - Trial division method
See complete series on maths problems here:
http://www.youtube.com/playlist?list=PL2_aWCzGMAwLL-mEB4ef20f3iqWMGWa25&feature=view_all
In this lesson, we will write a simple program to verify whether a given number is prime or not. The tutorial only describes the algorithm and gives a pseudo-code.
Prerequisite: Knowledge of basic programming constructs like loop.
www.mycodeschool.com is a not for profit educational initiative. You can send your feedback to mycodeschool [at] gmail [dot] com Verify a Prime number - Trial division method](https://i.ytimg.com/vi/7VPA-HjjUmU/mqdefault.jpg)









