in reply to Re: Re: Prime Number Finder
in thread Prime Number Finder
In fact, you're right, because numbers which only can be devided in 1, themselves and their square root will be marked as prime in this way. make the < into a <= and it is solved.
|
---|
In Section
Cool Uses for Perl