Task: Compute the Next Prime Number
Task: Compute the Next Prime Number: a task in Terminal-Lego-15k (Harbor dataset). Given a prime number N, implement an efficient algorithm to compute the next prime number greater than N.
The task
Given a prime number N, implement an efficient algorithm to compute the next prime number greater than N.
Part of PrimeIntellect/Terminal-Lego-15k.