Complete nth-prime.