Solution 1
Since y∣x, y+1∣x+1, then gcd(y,x)=y (the bars indicate divisibility) and gcd(y+1,x+1)=y+1. By the Euclidean algorithm, these can be rewritten respectively as gcd(y,x−y)=y and gcd(y+1,x−y)=y+1, which implies that both y,y+1∣x−y. Also, as gcd(y,y+1)=1, it follows that y(y+1)∣x−y. [1]
Thus, for a given value of y, we need the number of multiples of y(y+1) from 0 to 100−y (as x≤100, but not including 0 becaue x cannot be equal to y). It follows that there are ⌊y(y+1)100−y⌋ satisfactory positive integers for all integers y≤100. The answer is
y=1∑99⌊y(y+1)100−y⌋=49+16+8+4+3+2+1+1+1=085.
^ Another way of stating this is to note that if yx and y+1x+1 are integers, then yx−1=yx−y and y+1x+1−1=y+1x−y must be integers. Since y and y+1 cannot share common prime factors, it follows that y(y+1)x−y must also be an integer.
Solution 2
We know that x≡0mody and x+1≡0mody+1.
Write x as ky for some integer k. Then, ky+1≡0mody+1. We can add k to each side in order to factor out a y+1. So, ky+k+1≡kmody+1 or k(y+1)+1≡kmody+1. We know that k(y+1)≡0mody+1. We finally achieve the congruence 1−k≡0mody+1.
We can now write k as (y+1)a+1. Plugging this back in, if we have a value for y, then x=ky=((y+1)a+1)y=y(y+1)a+y. We only have to check values of y when y(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+9.
Finding all possible values of a such that y,weget49 + 16 + 8 + 4 + 3 + 2 + 1 + 1 + 1 = \boxed{085}.$
Solution 3 (Rigorous, but straightforward)
We use casework:
For y=1, we have 3,5,⋯,99, or 49 cases.
For y=2, we have 8,14,⋯,98, or 16 cases.
For y=3, we have 15,27,⋯,99, or 8 cases.
For y=4, we have 24,44⋯,84, or 4 cases.
For y=5, we have 35,65,95, or 3 cases.
For y=6, we have 48,90, or 2 cases.
For y=7, we have 63, or 1 case.
For y=8, we have 80, or 1 case.
For y=9, we have 99, or 1 case.
Adding, we get our final result of 085.
Note: In general, all of the solutions for all y are y+by(y+1), for any b such that y+by(y+1)=x<100
~SirAppel
Also, note that n+1 just starts with (y+1)2, and adds y(y+1) until it is greater than 100.
~Yiyj1