Problem 1952 · Easy

Three Divisors

Decide whether a number has exactly three positive divisors. The visual counts divisors up to the square root and shows that only squares of primes reach a count of three.

Open the interactive visualisation