You're right but it should not have a fixed length because I want to remove numbers from it. I guess an SortedCollection is the best way to retrieve the next prime number. And the exercise is a good way to discover select and reject...
Alain
On Fri, Jun 27, 2014 at 1:41 PM, hilaire <hfern@free.fr> wrote:
Why do you need a set for that? An array is enough.
But please go on.