Domanda di colloquio di Citadel Securities

Find prime numbers. The two envelope problem.