返回题库

AIME 2018 I · 第 1 题

AIME 2018 I — Problem 1

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem 1

Let SS be the number of ordered pairs of integers (a,b)(a,b) with 1a1001 \leq a \leq 100 and b0b \geq 0 such that the polynomial x2+ax+bx^2+ax+b can be factored into the product of two (not necessarily distinct) linear factors with integer coefficients. Find the remainder when SS is divided by 10001000.

解析

Solution 1

Let the linear factors be (x+c)(x+d)(x+c)(x+d).

Then, a=c+da=c+d and b=cdb=cd.

We know that 1a1001\le a\le 100 and b0b\ge 0, so cc and dd both have to be non-negative

However, aa cannot be 00, so at least one of cc and dd must be greater than 00, ie positive.

Also, aa cannot be greater than 100100, so c+dc+d must be less than or equal to 100100.

Essentially, if we plot the solutions, we get a triangle on the coordinate plane with vertices (0,0),(0,100),(0,0), (0, 100), and (100,0)(100,0). Remember that (0,0)(0,0) does not work, so there is a square with the top right corner (1,1)(1,1).

Note that cc and dd are interchangeable since they end up as aa and bb in the end anyways. Thus, we simply draw a line from (1,1)(1,1) to (50,50)(50,50), designating one of the halves as our solution (since the other side is simply the coordinates flipped).

We note that the pattern from (1,1)(1,1) to (50,50)(50,50) is 2+3+4++512+3+4+\dots+51 solutions and from (51,49)(51, 49) to (100,0)(100,0) is 50+49+48++150+49+48+\dots+1 solutions, since we can decrease the yy-value by 11 until 00 for each coordinate.

Adding up gives

2+51250+50+1250.\dfrac{2+51}{2}\cdot 50+\dfrac{50+1}{2}\cdot 50. This gives us 26002600, and 2600600mod1000.2600\equiv 600 \bmod{1000}.

Thus, the answer is:

600.\boxed{600}. ~Minor edit by Yiyj1

Solution 2

Similar to the previous solution, we plot the triangle and cut it in half. Then, we find the number of boundary points, which is 101+51+513101+51+51-3, or just 200200. Using Pick's theorem, we know that the area of the half-triangle, which is 25002500, is just I+1001I+100-1. That means that there are 24012401 interior points, plus 200200 boundary points, which is 26012601. However, (0,0)(0,0) does not work, so the answer is

600.\boxed{600}.

Solution 3 (less complicated)

Notice that for x2+ax+bx^2+ax+b to be true, for every aa, bb will always be the product of the possibilities of how to add two integers to aa. For example, if a=3a=3, bb will be the product of (3,0)(3,0) and (2,1)(2,1), as those two sets are the only possibilities of adding two integers to aa. Note that order does not matter. If we just do some simple casework, we find out that:

if aa is odd, there will always be a2\left\lceil\frac{a}{2}\right\rceil (which is also a+12)\left(\text{which is also }\frac{a+1}{2}\right) possibilities of adding two integers to aa.

if aa is even, there will always be a2+1\frac{a}{2}+1 possibilities of adding two integers to aa.

Using the casework, we have 1+2+2+3+3+...50+50+511+2+2+3+3+...50+50+51 possibilities. This will mean that the answer is

(1+51)10025250=2600\frac{(1+51)\cdot100}{2}\Rightarrow52\cdot50=2600 possibilities.

Thus, our solution is 2600mod10006002600\bmod {1000}\equiv\boxed{600}.

Solution by IronicNinja~

Solution 4

Let's write the linear factors as (x+n)(x+m)(x+n)(x+m).

Then we can write them as: a=n+m,b=nma=n+m, b=nm.

nn or mm has to be a positive integer as a cannot be 0.

n+mn+m has to be between 11 and 100100, as a cannot be over 100100.

Excluding a=1a=1, we can see there is always a pair of 22 a-values for a certain amount of b-values.

For instance, a=2a=2 and a=3a=3 both have 22 b-values. a=4a=4 and a=5a=5 both have 33 b-values.

We notice the pattern of the number of b-values in relation to the a-values: 1,2,2,3,3,4,41, 2, 2, 3, 3, 4, 4…

Ending 1

We see the pattern 1,2;2,3;3,4;...1, 2; 2, 3; 3, 4; .... There are 50 pairs of i,i+1i, i+1 in this pattern, and each pair sums to 2i+12i+1. So the pattern condenses to 3,5,7,...3, 5, 7, ... for 50 terms. This is just 1+3+5+...1+3+5+... for 51 terms, minus 11, or 5121=26011=2600    60051^2-1=2601-1=2600\implies\boxed{600}.

~ Firebolt360

Ending 2

The following link is the URL to the graph I drew showing the relationship between a-values and b-values http://artofproblemsolving.com/wiki/index.php?title=File:Screen_Shot_2018-04-30_at_8.15.00_PM.png#file

AIME diagram

The pattern continues until a=100a=100, and in total, there are 4949 pairs of a-value with the same amount of b-values. The two lone a-values without a pair are, the (a=1a=1, amount of b-values=1) in the beginning, and (a=100a=100, amount of b-values=51) in the end.

Then, we add numbers from the opposite ends of the spectrum, and quickly notice that there are 5050 pairs each with a sum of 5252. 525052\cdot50 gives 26002600 ordered pairs:

1+51,2+50,2+50,3+49,3+49,4+48,4+481+51, 2+50, 2+50, 3+49, 3+49, 4+48, 4+48…

When divided by 10001000, it gives the remainder 600\boxed{600}, the answer.

Solution provided by- Yonglao Slightly modified by Afly

Remark : This solution works because no distinct (a,b),(c,d)(a,b), (c,d) exist such that a+b=c+d,ab=cda+b=c+d,ab=cd unless a=da = d and b=cb = c

Solution 5

Let's say that the quadratic x2+ax+bx^2 + ax + b can be factored into (x+c)(x+d)(x+c)(x+d) where cc and dd are non-negative numbers. We can't have both of them zero because aa would not be within bounds. Also, c+d100c+d \leq 100. Assume that c<dc < d. dd can be written as c+xc + x where x0x \geq 0. Therefore, c+d=2c+x100c + d = 2c + x \leq 100. To find the amount of ordered pairs, we must consider how many values of xx are possible for each value of cc. The amount of possible values of xx is given by 1002c+1100 - 2c + 1. The +1+1 is the case where c=dc = d. We don't include the case where c=d=0c = d = 0, so we must subtract a case from our total. The amount of ordered pairs of (a,b)(a,b) is:

(c=050(1002c+1))1\left(\sum_{c=0}^{50} (100 - 2c + 1)\right) - 1 This is an arithmetic progression.

(101+1)(51)21=26011=2600\frac{(101 + 1)(51)}{2} - 1 = 2601 - 1 = 2600 When divided by 10001000, it gives the remainder 600\boxed{600}

~Zeric Hang

Solution 6(simple)

By Vietas, the sum of the roots is a-a and the product is bb. Therefore, both roots are nonpositive. For each value of aa from 11 to 100100, the number of bb values is the number of ways to sum two numbers between 00 and a1a-1 inclusive to aa. This is just 1+2+2+3+3+...50+50+51=26001 + 2 + 2 + 3 + 3 +... 50 + 50 + 51 = 2600. Thus, the answer is 600\boxed{600}

-bron jiang

Solution 7 (less room for error)

Similar to solution 1 we plot the triangle and half it. From dividing the triangle in half we are removing the other half of answers that are just flipped coordinates. We notice that we can measure the length of the longest side of the half triangle which is just from 00 to 100100, so the number of points on that line is is 101101. The next row has length 9999, the one after that has length 9797, and so on. We simply add this arithmetic series of odd integers 101+99+97+...+1101+99+97+...+1. This is

(101+1)(51)2=2601\frac{(101+1)(51)}{2} = 2601 Or you can notice that this is the sum of the first 5151 odd terms, which is just 512=260151^2 = 2601. However, (0,0)(0,0) is the singular coordinate that does not work, so the answer is (26011)mod1000600(2601-1)\bmod {1000}\equiv\boxed{600}

Solution by Damian Kim~

Solution 8 (Sticks and stones)

Letting r-r and q-q be the roots, we must find the number of unordered pairs (r,q)(r,q) such that 1r+q100.1 \le r+q \le 100. To do this we define three boxes: r,q,r, q, and tt for "trash." For example, if we had t=77,t=77, we would have any arrangement of rr and qq summing to 23.23. Note that we cannot have t=100,t=100, subtracting one from our total. By stars and bars, we have that the number of ordered pairs (r,q)(r,q) is (1022)1=5150.{102 \choose 2} - 1 = 5150. However, we are not done: we have double-counted cases such as (1,2)(1,2) and (2,1)(2,1) but not cases such as (4,4).(4,4). Thus our answer will be 5150502+50(mod100)=600.\frac{5150 - 50}{2} + 50 \pmod {100} = \boxed{600}. ~ab2024

Solution 9 (Official MAA)

The factoring condition is equivalent to the discriminant a24ba^2-4b being equal to c2c^2 for some integer c.c. Because b0,b\ge 0, the equation 4b=(ac)(a+c)4b=(a-c)(a+c) shows that the existence of such a bb is equivalent to ac(mod2)a\equiv c\pmod 2 with 0ca.0\le c\le a. Thus the number of ordered pairs is

S=a=1100a+12=2600.S=\sum_{a=1}^{100}\left\lceil\frac{a+1}{2}\right\rceil=2600. The requested remainder is 600.600.

Solution 10 (Extra solution that is very very similar to the other solutions)

First I thought the special case of the problem is when the factors are repeated, which looks like this:

$(x+r)^2$

There are 50 ways for this to happen because r can be from 11 to 5050 ((x+50)2=x2+100x+502(x+50)^2 = x^2+100x+50^2 and a50a\leq 50).

Now I thought how can you make the other cases? It looks like (xr)(xs)(x-r)(x-s) so by Vieta's r+s=ar+s=a. This looks like Stars and Bars

because a=1+1+1+1+...a=1+1+1+1+... and you're giving the indistinguishable ones to rr and ss. For a=1a=1, there are (1+2121)=2\binom{1+2-1}{2-1} = 2

ways. For a=2a=2, there are (2+2121)=3\binom{2+2-1}{2-1} = 3 ways. Now you see the pattern which is 2+3+...+100+1012+3+...+100+101 for a=1,2,...100a=1, 2, ...100.

This equals 10350103\cdot50 ways in total. However, now you realize that rr and ss can be flipped and it gives the same. So,

subtract the cases when r=sr = s which we found to be 5050. Now from the remaining double-counted 10250102\cdot50 divide by two to

eliminate the double-counting. We have 515051\cdot50, but remember to add back in the 5050 ways that weren't double-counted to begin

with. That gives us 5250=260052\cdot50 = 2600 ways and the requested remainder is 600.600.

-unhappyfarmer

Video Solution

https://www.youtube.com/watch?v=WVtbD8x9fCM ~Shreyas S