# 1984 AIME Problems/Problem 14

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

## Problem

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

## Solution 1

Take an even positive integer $x$. $x$ is either $0 \bmod{6}$, $2 \bmod{6}$, or $4 \bmod{6}$. Notice that the numbers $9$, $15$, $21$, ... , and in general $9 + 6n$ for nonnegative $n$ are odd composites. We now have 3 cases:

If $x \ge 18$ and is $0 \bmod{6}$, $x$ can be expressed as $9 + (9+6n)$ for some nonnegative $n$. Note that $9$ and $9+6n$ are both odd composites.

If $x\ge 44$ and is $2 \bmod{6}$, $x$ can be expressed as $35 + (9+6n)$ for some nonnegative $n$. Note that $35$ and $9+6n$ are both odd composites.

If $x\ge 34$ and is $4 \bmod{6}$, $x$ can be expressed as $25 + (9+6n)$ for some nonnegative $n$. Note that $25$ and $9+6n$ are both odd composites.

Clearly, if $x \ge 44$, it can be expressed as a sum of 2 odd composites. However, if $x = 42$, it can also be expressed using case 1, and if $x = 40$, using case 3. $38$ is the largest even integer that our cases do not cover. If we examine the possible ways of splitting $38$ into two addends, we see that no pair of odd composites add to $38$. Therefore, $\boxed{038}$ is the largest possible number that is not expressible as the sum of two odd composite numbers.

## Solution 2

Let $n$ be an integer that cannot be written as the sum of two odd composite numbers. If $n>33$, then $n-9,n-15,n-21,n-25,n-27,$ and $n-33$ must all be prime (or $n-33=1$, which yields $n=34=9+25$ which does not work). Thus $n-9,n-15,n-21,n-27,$ and $n-33$ form a prime quintuplet. However, only one prime quintuplet exists as exactly one of those 5 numbers must be divisible by 5.This prime quintuplet is $5,11,17,23,$ and $29$, yielding a maximal answer of 38. Since $38-25=13$, which is prime, the answer is $\boxed{038}$.

## Solution 3 (bash)

Let $2n$ be an even integer. Using the Chicken McNugget Theorem on the two smallest odd composite integers that are relatively prime from each other, 9 and 25, show that the maximum is 191, and the maximum even integer is 190 or lower. We use the fact that sufficiently high multiples of 6, 10, 14, 22, etc. can be represented as $n+n$. We bash each case until we find one that works.

## Solution 4 (easiest)

The easiest method is to notice that any odd number that ends is a 5 is a composite (except for 5 itself). This means that we will have 15, 25, 35, etc... no matter what. What it also means is that if we look at the end digit, if 15 plus another number will equal that number, then any number that has that same end digit can be added by that same number plus a version of 15, 25, 35...

For example, let's say we assume our end digit of the number is 4. If we have 5 as one of our end digits, then 9 must be the end digit of the other number. If we go down our list of numbers that end with a 9 and is composite, we will stumble upon the number 9 itself. That means that the number 15+9 is able to be written in a composite form, but also anything that ends with a 4 and is above 15+9. Hence the largest number that ends with a 4 that satisfies the conditions is 14.

If you list out all the numbers, you will notice that 33 is the largest number where the last digit is not repeated (13 and 23 are not composite). That means that 33+15 and anything else that ends with a 3 is bad, so the largest number that satisfies the conditions is the largest number that ends with a 8 and is below 48. That number would be $\boxed{38}$

## Solution 5

Claim: The answer is $\boxed{038}$.

Proof: It is fairly easy to show 38 can't be split into 2 odd composites.

Assume there exists an even integer $m > 38$ that m can't be split into 2 odd composites.

Then, we can consider m modulo 5.

If m = 0 mod 5, we can express m = 15 + 5k for some integer k. Since $m > 20$, $k > 1$ so $k \geq 2$. Thus, 5k is composite. Since 15 is odd and composite, m is even, 5k should be odd as well.

If m = 1 mod 5, we can express m = 21 + 5k for some integer k. Since $m > 26$, $k > 1$ so $k \geq 2$. Thus, 5k is composite. Since 21 is odd and composite, m is even, 5k should be odd as well.

If m = 2 mod 5, we can express m = 27 + 5k for some integer k. Since $m > 32$, $k > 1$ so $k \geq 2$. Thus, 5k is composite. Since 27 is odd and composite, m is even, 5k should be odd as well.

If m = 3 mod 5, we can express m = 33 + 5k for some integer k. Since $m > 38$, $k > 1$ so $k \geq 2$. Thus, 5k is composite. Since 33 is odd and composite, m is even, 5k should be odd as well.

If m = 4 mod 5, we can express m = 9 + 5k for some integer k. Since $m > 14$, $k > 1$ so $k \geq 2$. Thus, 5k is composite. Since 9 is odd and composite, m is even, 5k should be odd as well.

Thus, in all cases we can split m into 2 odd composites, and we get at a contradiction. $\blacksquare$

-Alexlikemath