Prime Number

Algorithm is nothing but only the idea that used in Computer science or Mathematics to solve some special problems. Generation of prime number is not a tough task. However, it takes huge time to generate large prime number if we not follow any standard approach. Thus, there is an algorithm that helps us to generate large prime number in a short time.

Prime Number :
In this process we first assume all number as prime, then find their multiplier and point these numbers as not-prime. Look at the code, I use comment to understand you about the code.



The figure illustrates the process of algorithm exeution 

মন্তব্যসমূহ