AoPSWiki
Do you have what it takes to be the next brilliant trader, researcher, or developer at Jane Street Capital? Find out in the Careers in Mathematics Forum.

2008 AIME I Problems/Problem 6

From AoPSWiki

Problem

A triangular array of numbers has a first row consisting of the odd integers 1,3,5,\ldots,99 in increasing order. Each row below the first has one fewer entry than the row above it, and the bottom row has a single entry. Each entry in any row after the top row equals the sum of the two entries diagonally above it in the row immediately above it. How many entries in the array are multiples of 67?

Solution

Let the kth number in the nth row be a(n,k). Writing out some numbers, we find that a(n,k) = 2^{n-1}(n+2k-2).[1]

We wish to find all (n,k) such that 67| a(n,k) = 2^{n-1} (n+2k-2). Since 2^{n-1} and 67 are relatively prime, it follows that 67|n+2k-2. Since every row has one less element than the previous row, 1 \le k \le 51-n (the first row has 50 elements, the second 49, and so forth; so k can range from 1 to 50 in the first row, and so forth). Hence

n+2k-2 \le n + 2(51-n) - 2 = 100 - n \le 100,

it follows that 67| n - 2k + 2 implies that n-2k+2 = 67 itself.

Now, note that we need n to be odd, and also that n+2k-2 = 67 \le 100-n \Longrightarrow n \le 33.

We can check that all rows with odd n satisfying 1 \le n \le 33 indeed contains one entry that is a multiple of 67, and so the answer is \frac{33+1}{2} = \boxed{017}.



^ Proof: Indeed, note that a(1,k) = 2^{1-1}(1+2k-2)=2k-1, which is the correct formula for the first row. We claim the result by induction on n. By definition of the array, a(n,k) = a(n-1,k)+a(n-1,k+1), and by our inductive hypothesis,

\begin{align*}a(n,k) &= a(n-1,k)+a(n-1,k+1)\\ &= 2^{n-2}(n-1+2k-2)+2^{n-2}(n-1+2(k+1)-2)\\&=2^{n-2}(2n+4k-4)\\&am...

thereby completing our induction.


The result above is fairly intuitive if we write out several rows, each time dividing the result through by 2 (as this doesn't affect divisibility by 67). The second row will be 2, 4, 6, \cdots , 98, the third row will be 3, 5, \cdots, 97, and so forth. Clearly, only the odd-numbered rows can have a term divisible by 67. However, with each row the row will have one less element, and the 100-67 = 33rd row is the last time 67 will appear.

See also

2008 AIME I (ProblemsResources)
Preceded by
Problem 5
Followed by
Problem 7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Want to learn how to tackle those tough AMC/AIME/Olympiad counting and probability problems? Check out Art of Problem Solving's Intermediate Counting & Probability by David Patrick.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us