Closest factor pair of 1234567890
Question
Among all ways of writing with positive integers, choose the pair whose difference is as small as possible. What is for that pair? (Factoring the number into primes will help.)
Short answer
70297. Since , the two large primes must sit in different factors (both together already exceed ). Distributing the small part to balance them gives and , the nearest pair, with sum .
Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.
See the hint and the full worked solution in the question bank (free account).
Open the worked solution