adding prime number calculator