A related puzzle about numbers built from two secret primes: tell two kinds of numbers apart. Easy for anyone who can factor.
The idea: Paillier works with numbers modulo N², where N = p × q. Some of these numbers are "N-th powers" and the rest aren't, and without the primes nobody can tell which is which. Encryption hides the message under a random N-th power, so the result looks random to everyone, while the key holder, who knows p and q, can strip the random part away. Because the hiding is done by multiplying, multiplying two ciphertexts adds the hidden messages.
Why it matters: It powers Paillier encryption, which can add numbers while they stay encrypted.
Given N = p × q, tell apart random N-th powers modulo N² from random numbers modulo N². Assumed hard, and easy for anyone who can factor N.
It is the assumption behind Paillier encryption[1].
If any of these breaks, this breaks too.
If this breaks, these break with it.