Distributed prime sieve in heterogeneous computer clusters