Re: Prime numbers
Yes, you only need to check the numbers between 2 and half of n, as once you go above halfway, it's impossible to fit in a whole number?
@ Winged, is there a keyboard shortcut for code tags? I know Ctrl-B is bold, I is Italic, U is underlined... how about code?
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Web Site | Beta Site
|