Brun's theorem and sieve theory — LessWrong