Prime number calculating process pipeline