返回题库

AIME 1995 · 第 8 题

AIME 1995 — Problem 8

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For how many ordered pairs of positive integers (x,y),(x,y), with yarebothy are both\frac xyandand\frac{x+1}{y+1}$ integers?

解析

Solution 1

Since yxy|x, y+1x+1y+1|x+1, then gcd(y,x)=y\text{gcd}\,(y,x)=y (the bars indicate divisibility) and gcd(y+1,x+1)=y+1\text{gcd}\,(y+1,x+1)=y+1. By the Euclidean algorithm, these can be rewritten respectively as gcd(y,xy)=y\text{gcd}\,(y,x-y)=y and gcd(y+1,xy)=y+1\text{gcd}\, (y+1,x-y)=y+1, which implies that both y,y+1xyy,y+1 | x-y. Also, as gcd(y,y+1)=1\text{gcd}\,(y,y+1) = 1, it follows that y(y+1)xyy(y+1)|x-y. [1]

Thus, for a given value of yy, we need the number of multiples of y(y+1)y(y+1) from 00 to 100y100-y (as x100x \le 100, but not including 0 becaue x cannot be equal to y). It follows that there are 100yy(y+1)\left\lfloor\frac{100-y}{y(y+1)} \right\rfloor satisfactory positive integers for all integers y100y \le 100. The answer is

y=199100yy(y+1)=49+16+8+4+3+2+1+1+1=085.\sum_{y=1}^{99} \left\lfloor\frac{100-y}{y(y+1)} \right\rfloor = 49 + 16 + 8 + 4 + 3 + 2 + 1 + 1 + 1 = \boxed{085}. ^ Another way of stating this is to note that if xy\frac{x}{y} and x+1y+1\frac{x+1}{y+1} are integers, then xy1=xyy\frac{x}{y} - 1 = \frac{x-y}{y} and x+1y+11=xyy+1\frac{x+1}{y+1} - 1 = \frac{x-y}{y+1} must be integers. Since yy and y+1y+1 cannot share common prime factors, it follows that xyy(y+1)\frac{x-y}{y(y+1)} must also be an integer.

Solution 2

We know that x0modyx \equiv 0 \mod y and x+10mody+1x+1 \equiv 0 \mod y+1.

Write xx as kyky for some integer kk. Then, ky+10mody+1ky+1 \equiv 0\mod y+1. We can add kk to each side in order to factor out a y+1y+1. So, ky+k+1kmody+1ky+k+1 \equiv k \mod y+1 or k(y+1)+1kmody+1k(y+1)+1 \equiv k \mod y+1. We know that k(y+1)0mody+1k(y+1) \equiv 0 \mod y+1. We finally achieve the congruence 1k0mody+11-k \equiv 0 \mod y+1.

We can now write kk as (y+1)a+1(y+1)a+1. Plugging this back in, if we have a value for yy, then x=ky=((y+1)a+1)y=y(y+1)a+yx = ky = ((y+1)a+1)y = y(y+1)a+y. We only have to check values of yy when y(y+1)<100y(y+1)<100. This yields the equations x=2a+1,6a+2,12a+3,20a+4,30a+5,42a+6,56a+7,72a+8,90a+9x = 2a+1, 6a+2, 12a+3, 20a+4, 30a+5, 42a+6, 56a+7, 72a+8, 90a+9.

Finding all possible values of aa such that y,wegety, we get49 + 16 + 8 + 4 + 3 + 2 + 1 + 1 + 1 = \boxed{085}.$

Solution 3 (Rigorous, but straightforward)

We use casework:

For y=1y=1, we have 3,5,,993,5,\cdots ,99, or 4949 cases.

For y=2y=2, we have 8,14,,988,14,\cdots ,98, or 1616 cases.

For y=3y=3, we have 15,27,,9915,27,\cdots ,99, or 88 cases.

For y=4y=4, we have 24,44,8424,44\cdots ,84, or 44 cases.

For y=5y=5, we have 35,65,9535,65,95, or 33 cases.

For y=6y=6, we have 48,9048,90, or 22 cases.

For y=7y=7, we have 6363, or 11 case.

For y=8y=8, we have 8080, or 11 case.

For y=9y=9, we have 9999, or 11 case.

Adding, we get our final result of 085.\boxed{085}.

Note: In general, all of the solutions for all yy are y+by(y+1)y+by(y+1), for any bb such that y+by(y+1)=x<100y+by(y+1)=x<100

~SirAppel

Also, note that n+1n+1 just starts with (y+1)2(y+1)^2, and adds y(y+1)y(y+1) until it is greater than 100100.

~Yiyj1