Click here to Skip to main content
11,484,162 members (70,786 online)

Algorithms

 
GeneralRe: Specify numbers as product of Primes? Pin
cp987628-Jun-08 21:27
membercp987628-Jun-08 21:27 
GeneralRe: Specify numbers as product of Primes? Pin
Luc Pattyn29-Jun-08 3:42
mvpLuc Pattyn29-Jun-08 3:42 
GeneralRe: Specify numbers as product of Primes? Pin
MarkBrock27-Jun-08 19:46
memberMarkBrock27-Jun-08 19:46 
GeneralRe: Specify numbers as product of Primes? Pin
Paul Conrad28-Jun-08 6:42
memberPaul Conrad28-Jun-08 6:42 
GeneralRe: Specify numbers as product of Primes? Pin
ChandraRam2-Jul-08 23:49
memberChandraRam2-Jul-08 23:49 
GeneralRe: Specify numbers as product of Primes? Pin
MarkBrock3-Jul-08 0:06
memberMarkBrock3-Jul-08 0:06 
AnswerRe: Specify numbers as product of Primes? Pin
Member 419459326-Jun-08 9:19
memberMember 419459326-Jun-08 9:19 
GeneralRe: Specify numbers as product of Primes? Pin
Robert.C.Cartaino26-Jun-08 9:47
memberRobert.C.Cartaino26-Jun-08 9:47 
Member 4194593 wrote:
You do not need to divide by all numbers, only by primes.


... and, if we are optimizing, your for-loop does not need to run all the way up to InputCase. You only need to check for divisibility of numbers up to the square root of InputCase.
GeneralRe: Specify numbers as product of Primes? Pin
Ian Uy26-Jun-08 18:51
memberIan Uy26-Jun-08 18:51 
GeneralRe: Specify numbers as product of Primes? Pin
cp987629-Jun-08 15:57
membercp987629-Jun-08 15:57 
AnswerRe: Specify numbers as product of Primes? Pin
Arash Partow29-Jun-08 1:48
memberArash Partow29-Jun-08 1:48 
GeneralRe: Specify numbers as product of Primes? [modified] Pin
cp987629-Jun-08 4:53
membercp987629-Jun-08 4:53 
GeneralRe: Specify numbers as product of Primes? Pin
Luc Pattyn29-Jun-08 5:40
mvpLuc Pattyn29-Jun-08 5:40 
GeneralRe: Specify numbers as product of Primes? Pin
cp987629-Jun-08 15:47
membercp987629-Jun-08 15:47 
GeneralRe: Specify numbers as product of Primes? Pin
Arash Partow30-Jun-08 3:54
memberArash Partow30-Jun-08 3:54 
GeneralRe: Specify numbers as product of Primes? Pin
cp987630-Jun-08 4:18
membercp987630-Jun-08 4:18 
GeneralRe: Specify numbers as product of Primes? Pin
Arash Partow30-Jun-08 5:27
memberArash Partow30-Jun-08 5:27 
GeneralRe: Specify numbers as product of Primes? Pin
Arash Partow30-Jun-08 3:17
memberArash Partow30-Jun-08 3:17 
Questionlogic of prob function in ms excel Pin
sumit703425-Jun-08 1:40
membersumit703425-Jun-08 1:40 
QuestionFactorials Pin
Ian Uy24-Jun-08 9:17
memberIan Uy24-Jun-08 9:17 
AnswerRe: Factorials Pin
Tim Craig24-Jun-08 11:29
memberTim Craig24-Jun-08 11:29 
GeneralRe: Factorials Pin
Ian Uy25-Jun-08 7:32
memberIan Uy25-Jun-08 7:32 
GeneralRe: Factorials Pin
Tim Craig25-Jun-08 9:55
memberTim Craig25-Jun-08 9:55 
GeneralRe: Factorials Pin
Luc Pattyn25-Jun-08 12:01
mvpLuc Pattyn25-Jun-08 12:01 
GeneralRe: Factorials Pin
Tim Craig25-Jun-08 22:06
memberTim Craig25-Jun-08 22:06 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 25 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid