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

Algorithms

 
AnswerRe: How to get the index of a cell in a Table Pin
Richard MacCutchan20-Dec-12 2:10
mveRichard MacCutchan20-Dec-12 2:10 
Questionconfusions Pin
en41117-Dec-12 22:37
en41117-Dec-12 22:37 
AnswerRe: confusions Pin
Alan Balkany18-Dec-12 5:43
Alan Balkany18-Dec-12 5:43 
QuestionWhen completing a bespoke programme should I give the code up? Pin
itorchuk17-Dec-12 8:08
itorchuk17-Dec-12 8:08 
AnswerRe: When completing a bespoke programme should I give the code up? Pin
jschell17-Dec-12 8:27
jschell17-Dec-12 8:27 
GeneralRe: When completing a bespoke programme should I give the code up? Pin
itorchuk17-Dec-12 8:37
itorchuk17-Dec-12 8:37 
QuestionPrime Number Generation Pin
Joshua Guyette14-Dec-12 9:36
Joshua Guyette14-Dec-12 9:36 
AnswerRe: Prime Number Generation Pin
Alan Balkany17-Dec-12 4:39
Alan Balkany17-Dec-12 4:39 
There is no simple algorithm for generating prime numbers. For example, your method falls apart when you take the next step: 11 + 5 - 1 = 15, which isn't prime.

A foolproof (but slower) method is to try dividing a candidate by all the integers up to the square root of that number. If none can divide it evenly, it's prime.

Also look at: http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes[^]
"Microsoft -- Adding unnecessary complexity to your work since 1987!"

AnswerRe: Prime Number Generation Pin
April Fans19-Dec-12 19:34
April Fans19-Dec-12 19:34 
AnswerRe: Prime Number Generation Pin
_Kel_30-Dec-12 4:44
_Kel_30-Dec-12 4:44 
QuestionFinding Bounding Entities Pin
Kyudos9-Dec-12 12:10
Kyudos9-Dec-12 12:10 
AnswerRe: Finding Bounding Entities Pin
Alan Balkany10-Dec-12 5:28
Alan Balkany10-Dec-12 5:28 
Questionneed a guidance Pin
en4114-Dec-12 22:08
en4114-Dec-12 22:08 
AnswerRe: need a guidance Pin
Alan Balkany5-Dec-12 4:55
Alan Balkany5-Dec-12 4:55 
AnswerRe: need a guidance Pin
Dr. Hurol Aslan1-Feb-13 3:55
Dr. Hurol Aslan1-Feb-13 3:55 
GeneralUSING PARTICLE SWARM OPTIMIZATION IN MATLAB Pin
李不凡 Dec20123-Dec-12 6:34
李不凡 Dec20123-Dec-12 6:34 
Questionalgorithms??? Pin
en4111-Dec-12 15:13
en4111-Dec-12 15:13 
AnswerRe: algorithms??? Pin
Peter_in_27801-Dec-12 19:34
professionalPeter_in_27801-Dec-12 19:34 
QuestionRe: algorithms??? Pin
April Fans27-Dec-12 4:17
April Fans27-Dec-12 4:17 
NewsWilling to Trade Ad Space on My site for work on my site Pin
Beyslist114-Nov-12 17:15
Beyslist114-Nov-12 17:15 
QuestionNeed a Classified Ad Aggregator Algorithm Pin
Beyslist114-Nov-12 17:14
Beyslist114-Nov-12 17:14 
Questionfinding the best algorithm Pin
speedchandu20-Oct-12 11:32
speedchandu20-Oct-12 11:32 
AnswerRe: finding the best algorithm Pin
Alan Balkany22-Oct-12 5:00
Alan Balkany22-Oct-12 5:00 
GeneralRe: finding the best algorithm Pin
speedchandu22-Oct-12 20:12
speedchandu22-Oct-12 20:12 
GeneralRe: finding the best algorithm Pin
_Kel_22-Oct-12 23:36
_Kel_22-Oct-12 23:36 

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.