Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aswitalski/prime-number-search

Prime Number Search
https://github.com/aswitalski/prime-number-search

Last synced: about 1 month ago
JSON representation

Prime Number Search

Awesome Lists containing this project

README

        

# prime-number-search

[![Build Status](https://snap-ci.com/aswitalski/prime-number-search/branch/master/build_image)](https://snap-ci.com/aswitalski/prime-number-search/branch/master)

A just-for-fun prime number search mechanism utilizing own crude math algorithms.
It operates on strings representing decimal numbers to allow finding numbers exceeding max safe integer value in JavaScript (9007199254740991).

Of course this is just theoretical, as in practice it would just take ages to do so :)

### Usage

Just run the main script with a single parameter indicating how many prime numbers should be found, for example:

```
node . 100
```