Click here to Skip to main content
15,891,204 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Patterns Pin
Stephen Hewitt29-Jul-07 15:41
Stephen Hewitt29-Jul-07 15:41 
GeneralRe: Patterns Pin
Paul Conrad29-Jul-07 17:36
professionalPaul Conrad29-Jul-07 17:36 
AnswerRe: Patterns Pin
Luc Pattyn29-Jul-07 23:56
sitebuilderLuc Pattyn29-Jul-07 23:56 
QuestionPrimality Test Pin
shiraztk27-Jul-07 7:47
shiraztk27-Jul-07 7:47 
AnswerRe: Primality Test Pin
Paul Conrad27-Jul-07 8:17
professionalPaul Conrad27-Jul-07 8:17 
AnswerRe: Primality Test Pin
cp987627-Jul-07 11:40
cp987627-Jul-07 11:40 
GeneralRe: Primality Test Pin
Paul Conrad27-Jul-07 19:50
professionalPaul Conrad27-Jul-07 19:50 
GeneralRe: Primality Test Pin
shiraztk30-Jul-07 7:31
shiraztk30-Jul-07 7:31 
Hi
| Not true, fails for 15, 27, 35


ture... Smile | :)

i was trying with big numbers and found this working...didnt notice that it failed for small numbers, infact it fails for large numbers also.

Regards



The Best Religion is Science.
Once you understand it, you will know God.

GeneralRe: Primality Test Pin
Paul Conrad30-Jul-07 10:52
professionalPaul Conrad30-Jul-07 10:52 
GeneralRe: Primality Test Pin
cp987630-Jul-07 23:53
cp987630-Jul-07 23:53 
GeneralRe: Primality Test Pin
Gyan Prakash8-Aug-07 22:00
Gyan Prakash8-Aug-07 22:00 
AnswerRe: Primality Test Pin
Gyan Prakash8-Aug-07 21:55
Gyan Prakash8-Aug-07 21:55 
QuestionMagics of 4 Pin
shiraztk26-Jul-07 8:49
shiraztk26-Jul-07 8:49 
AnswerRe: Magics of 4 Pin
Maximilien26-Jul-07 9:27
Maximilien26-Jul-07 9:27 
AnswerRe: Magics of 4 Pin
David Crow26-Jul-07 10:50
David Crow26-Jul-07 10:50 
AnswerRe: Magics of 4 Pin
CPallini26-Jul-07 12:18
mveCPallini26-Jul-07 12:18 
AnswerRe: Magics of 4 Pin
cp987626-Jul-07 13:32
cp987626-Jul-07 13:32 
GeneralRe: Magics of 4 Pin
shiraztk27-Jul-07 4:00
shiraztk27-Jul-07 4:00 
GeneralRe: Magics of 4 Pin
Paul Conrad27-Jul-07 19:50
professionalPaul Conrad27-Jul-07 19:50 
QuestionLinear line Pin
flippydeflippydebop25-Jul-07 9:15
flippydeflippydebop25-Jul-07 9:15 
AnswerRe: Linear line Pin
Dan Neely25-Jul-07 9:35
Dan Neely25-Jul-07 9:35 
GeneralRe: Linear line Pin
Luc Pattyn25-Jul-07 11:14
sitebuilderLuc Pattyn25-Jul-07 11:14 
GeneralRe: Linear line Pin
flippydeflippydebop25-Jul-07 20:30
flippydeflippydebop25-Jul-07 20:30 
GeneralRe: Linear line Pin
flippydeflippydebop25-Jul-07 20:26
flippydeflippydebop25-Jul-07 20:26 
GeneralRe: Linear line Pin
Dan Neely26-Jul-07 2:19
Dan Neely26-Jul-07 2:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.