Jane Street–styleTrader InternTrader InternQuestion #615

What is the set of numbers between 2 and 30, where no two numbers share a common factor greater than 1 (i.e., the set is pairwise coprime), that gives the maximum possible sum? Using the same rules, what is the highest possible number you can have in a set of 1000?

Build Your Approach

State the assumptions, try a simple case, then work toward a general solution. Check the result and explain how it changes if an assumption changes.

Try the free diagnostic with worked solutions →

Get Free Interview Prep Resources

Practice the Reasoning Behind the Answer

Bring your target roles and interview timeline to a free quant consult. Discuss your preparation priorities and how Quant Blueprint’s lessons, practice and mock interviews can help.

Book a Free Quant Consult

Your goals · your preparation · your next steps