factory-0.3.0.0: Rational arithmetic in an irrational world.

Safe HaskellNone
LanguageHaskell2010

Factory.Math.Implementations.Primes.TrialDivision

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Generates the constant, conceptually infinite, list of prime-numbers, using Trial Division.

Synopsis

Functions

trialDivision :: Integral prime => NPrimes -> [prime] Source #

Predicates