Hi, I was wondering what A)the fastest way to find primes is, the fastest I've found so far is the sieve of Eratosthenes.(adsbygoogle = window.adsbygoogle || []).push({});

B) The fastest way to find all possible combinations of a set are. e.g. cat-> act,cta,tca,atc,tac,cat

any help appreciated. thanks in advance.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Fastest prime number sieve

Loading...

Similar Threads - Fastest prime number | Date |
---|---|

Project Euler solution 3 | Aug 30, 2017 |

Prime Numbers (Eratosthenes) | Feb 26, 2017 |

Machine language program is the fastest? | Apr 5, 2011 |

Fastest way to file diff | Apr 8, 2008 |

What's the fastest way to increase file size? | Mar 18, 2007 |

**Physics Forums - The Fusion of Science and Community**