---
title: Prime Number Generator
---

## Prime Number Generator
A prime number generator is used to generate prime numbers. Prime number generating algorithms are used extensively in computer science for various applications, examples: [Hashing](https://en.wikipedia.org/wiki/Hash_table), [Public-key Cryptography](https://en.wikipedia.org/wiki/Public-key_cryptography), etc.

**Here are few online prime numbers generators**
* [Wolfram Alpha](https://www.wolframalpha.com/examples/mathematics/number-theory/prime-numbers/)
* [Browserling's prime number generator](https://www.browserling.com/tools/prime-numbers)

**Link to one of the most efficient algorithms to generate prime numbers less than a number "n"**
* [Sieve of Eratosthenes algo to generate prime numbers](https://www.geeksforgeeks.org/sieve-of-eratosthenes/)

#### More Information:
* [Prime Number Chart](https://guide.freecodecamp.org/tools/prime-number-chart)
* [Wikibooks: Prime Number Generating Algorithms](https://en.wikibooks.org/wiki/Some_Basic_and_Inefficient_Prime_Number_Generating_Algorithms)
