commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [math] integer factorization
Date Tue, 07 Aug 2012 13:43:16 GMT
For hash tables, int nextPrimeAfter(int) would be useful.

On Tue, Aug 7, 2012 at 8:00 AM, matic <matic@nimp.co.uk> wrote:

> would contain the following methods:
>
> public static boolean isPrime(int
> n)
> public static List<Integer> primeFactors(int n)
>
> and a few private
> ones.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message