Problem 52614. Easy Sequences 12: 50th Prime
Write a function that outputs the th prime after a given number n. For example, the th prime after is .
NOTE: If n itself is prime start counting from the next prime greater than n.
Solution CommentsShow comments
Problem Recent Solvers13