Calculate the nth prime number -- Ebay