Skip to main content

1984 AIME Problem 14

Problem 14 of 15HarderNumber TheoryProblem-Solving Techniques

What is the largest even integer that cannot be written as the sum of two odd composite numbers?

Your answer

Integer from 0 to 999
Show solution

Solution

In a representation of 38,38, the smaller odd composite would be at most 19.19. The only possibilities are 99 and 15,15, whose complements 2929 and 2323 are prime. Thus 3838 is not representable. Now let N>38N>38 be even. If N≡0(mod6),N\equiv0\pmod6, write N=9+(N−9).N=9+(N-9). If N≡2(mod6),N\equiv2\pmod6, write N=35+(N−35).N=35+(N-35). If N≡4(mod6),N\equiv4\pmod6, write N=25+(N−25).N=25+(N-25). In each case the second summand is an odd multiple of 33 greater than 3,3, hence is composite; the fixed first summand is also odd and composite. Therefore every even integer greater than 3838 is representable, so the largest exception is 38.38.
AoPS wiki

Tagged: prime · modular arithmetic · extremal argument

More practice