hamukazu / hprimes

This is a command like "primes" in BSD, but can compute for a bigger integer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hprimes

Clone of "primes" command implemented in Haskell.

Examples of Usage

> hprimes 20 40
23
29
31
37

> hprimes 1000000000000000000000000000000000000000000
1000000000000000000000000000000000000000063
1000000000000000000000000000000000000000169
1000000000000000000000000000000000000000361
1000000000000000000000000000000000000000451
1000000000000000000000000000000000000000481
1000000000000000000000000000000000000000553
1000000000000000000000000000000000000000561
1000000000000000000000000000000000000000789
1000000000000000000000000000000000000000819
1000000000000000000000000000000000000000913
1000000000000000000000000000000000000000991
:
:

About

This is a command like "primes" in BSD, but can compute for a bigger integer


Languages

Language:Haskell 100.0%