Hello, I have managed get myself through the first 9 questions in Project Euler! :D
For my question #10, I am having trouble with Sieve of Eratosthenes
http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
Because I do not know how to filter out values in an array in VBA.
So, I currently have an array size of 2,000,000 (2 million)
and let's say I have some 1's and some 0's in the array.
How would I filter out 1's so that I only have an array of 0's with 'smaller size'?
Thank you in advance as always
kpark
For my question #10, I am having trouble with Sieve of Eratosthenes
http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
Because I do not know how to filter out values in an array in VBA.
So, I currently have an array size of 2,000,000 (2 million)
and let's say I have some 1's and some 0's in the array.
How would I filter out 1's so that I only have an array of 0's with 'smaller size'?
Thank you in advance as always
kpark