Problem 44967. Hello

Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers.

Given a positive integer x, find the nearest prime number. Keep in mind that the nearest prime may be less than x.

Solution Stats

16.67% Correct | 83.33% Incorrect
Last Solution submitted on Jan 15, 2020

Problem Comments

Problem Recent Solvers2

Suggested Problems

More from this Author2

Problem Tags