Click here to Skip to main content
15,893,381 members
Home / Discussions / Algorithms
   

Algorithms

 
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 
Sounds like you are just discovering the magic of Number Theory, you can find lots of interesting resources on the web.

I'm not sure what you are implying with (1), but (2) is very well known. 0 and 1 are called the quadratic residues mod 4. Some other examples, the same thing is true mod 3, but in mod 8 the residues are 0,1,4.





Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

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 
GeneralRe: Linear line Pin
flippydeflippydebop26-Jul-07 2:25
flippydeflippydebop26-Jul-07 2:25 
AnswerRe: Linear line Pin
CPallini25-Jul-07 11:12
mveCPallini25-Jul-07 11:12 
GeneralRe: Linear line Pin
Luc Pattyn25-Jul-07 11:16
sitebuilderLuc Pattyn25-Jul-07 11:16 
GeneralRe: Linear line Pin
CPallini25-Jul-07 11:24
mveCPallini25-Jul-07 11:24 
AnswerRe: Linear line Pin
Habib Ahmed Bhutto30-Jul-07 13:24
Habib Ahmed Bhutto30-Jul-07 13:24 
AnswerRe: Linear line Pin
Habib Ahmed Bhutto30-Jul-07 13:32
Habib Ahmed Bhutto30-Jul-07 13:32 
GeneralRe: Linear line Pin
Dan Neely31-Jul-07 2:09
Dan Neely31-Jul-07 2:09 
AnswerRe: Linear line Pin
Russell'3-Aug-07 4:19
Russell'3-Aug-07 4:19 
GeneralRe: Linear line Pin
Russell'3-Aug-07 4:20
Russell'3-Aug-07 4:20 

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.