Parallel processing in number-theoretical problems