tehliang

Results 4 comments of tehliang

> Isn't this the same as the already implemented check for ["perfect numbers"](https://the-algorithms.com/de/algorithm/perfect-number?lang=javascript)? No, they are not the same. From Wikipedia and the internet. A perfect number is a positive...

So any suggestions on how can I improve the algorithm?

> You should remove the isComposite function and instead make your changes to the PrimeCheck function. What changes should I make? I am a bit clueless... I am just proposing...

> > > You should remove the isComposite function and instead make your changes to the PrimeCheck function. > > > > > > What changes should I make? I...