Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

A is a number that has two or more prime factors. The number 87 can be expressed as the sum of two composite numbers in many ways. What is the minimum positive difference between two such numbers?
Solution
The minimum difference between two numbers whose sum is 87 is achieved when the numbers are as close as possible to . These numbers are 43 and 44, but 43 is prime, so we consider the next pair, 42 and 45, both of which are composite. Thus, the minimum positive difference is .
Final answer
3