See complete series on maths problems here:
• Mathematics for Programmers
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
On this page of the site you can watch the video online Verify a Prime number - Trial division method with a duration of hours minute second in good quality, which was uploaded by the user mycodeschool 13 September 2012, share the link with friends and acquaintances, this video has already been watched 118,501 times on youtube and it was liked by 1.2 thousand viewers. Enjoy your viewing!