Hi Peter, The limitation below is precisely what I referred to in my post in particular with respect to the upper bound of non-primes tested.
Thank you for your observations: I will look into the ideas and repost a revised patch later. Regards, Brian On Apr 23, 2014, at 7:28 AM, Peter Levart <peter.lev...@gmail.com> wrote: > - you could obtain the largest prime number from the set easily > (NavigableSet.last()) and use it as the "upperBound" for the range of > integers you test.