Cody

Problem 44284. Given a number N, find the smallest prime P>N

Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

Solution Stats

82.43% Correct | 17.57% Incorrect
Last solution submitted on Jun 18, 2019

Problem Comments