Igor Schein on Thu, 21 Oct 1999 11:26:36 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

removeprimes()


Hi,

I noticed this interesting behavior.

? addprimes(2*primes(64));length(addprimes)
64
? removeprimes(addprimes);length(addprimes)
32
? removeprimes(addprimes);length(addprimes)
16
? removeprimes(addprimes);length(addprimes)
8
? removeprimes(addprimes);length(addprimes)
4
? removeprimes(addprimes);length(addprimes)
2
? removeprimes(addprimes);length(addprimes)
1
? removeprimes(addprimes);length(addprimes)
0

So removeprimes() cuts the size of the list of
declared primes in half.  I don't this this is how
removeprimes() is described to behave.

Thanks

Igor