factory-0.2.1.1: Rational arithmetic in an irrational world.

Safe HaskellNone
LanguageHaskell98

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