Navvye/Olympiad-Problems-CSV huggingface dataset:
Problem: In isosceles trapezoid $ABCD$ , parallel bases $\overline{AB}$ and $\overline{CD}$ have lengths $500$ and $650$ , respectively, and $AD=BC=333$ . The angle bisectors of $\angle{A}$ and $\angle{D}$ meet at $P$ , and the angle bisectors of $\angle{B}$ and $\angle{C}$ meet at $Q$ . Find $PQ$

Solution: Extend line $PQ$ to meet $AD$ at $P'$ and $BC$ at $Q'$ . The diagram looks like this: [asy] /* Made by MRENTHUSIASM */ size(300); pair A, B, C, D, A1, B1, C1, D1, P, Q, P1, Q1; A = (-250,6*sqrt(731)); B = (250,6*sqrt(731)); C = (325,-6*sqrt(731)); D = (-325,-6*sqrt(731)); A1 = bisectorpoint(B,A,D); B1 = bisectorpoint(A,B,C); C1 = bisectorpoint(B,C,D); D1 = bisectorpoint(A,D,C); P = intersectionpoint(A--300*(A1-A)+A,D--300*(D1-D)+D); Q = intersectionpoint(B--300*(B1-B)+B,C--300*(C1-C)+C); P1 = intersectionpoint(A--D,P--(-300)*(Q-P)+P); Q1 = intersectionpoint(B--C,Q--300*(Q-P)+Q); draw(anglemark(P,A,B,1000),red); draw(anglemark(D,A,P,1000),red); draw(anglemark(A,B,Q,1000),red); draw(anglemark(Q,B,C,1000),red); draw(anglemark(P,D,A,1000),red); draw(anglemark(C,D,P,1000),red); draw(anglemark(Q,C,D,1000),red); draw(anglemark(B,C,Q,1000),red); add(pathticks(anglemark(P,A,B,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(D,A,P,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(A,B,Q,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(Q,B,C,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(P,D,A,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(C,D,P,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(Q,C,D,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(B,C,Q,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); dot("$A$",A,1.5*dir(A),linewidth(4)); dot("$B$",B,1.5*dir(B),linewidth(4)); dot("$C$",C,1.5*dir(C),linewidth(4)); dot("$D$",D,1.5*dir(D),linewidth(4)); dot("$P$",P,1.5*NE,linewidth(4)); dot("$Q$",Q,1.5*NW,linewidth(4)); dot("$P'$",P1,1.5*W,linewidth(4)); dot("$Q'$",Q1,1.5*E,linewidth(4)); draw(A--B--C--D--cycle^^A--P--D^^B--Q--C^^P--Q); draw(P--P1^^Q--Q1,dashed); [/asy] Because the trapezoid is isosceles, by symmetry $PQ$ is parallel to $AB$ and $CD$ . Therefore, $\angle PAB \cong \angle APP'$ by interior angles and $\angle PAB \cong \angle PAD$ by the problem statement. Thus, $\triangle P'AP$ is isosceles with $P'P = P'A$ . By symmetry, $P'DP$ is also isosceles, and thus $P'A = \frac{AD}{2}$ . Similarly, the same thing is happening on the right side of the trapezoid, and thus $P'Q'$ is the midline of the trapezoid. Then, $PQ = P'Q' - (P'P + Q'Q)$
Since $P'P = P'A = \frac{AD}{2}, Q'Q = Q'B = \frac{BC}{2}$ and $AD = BC = 333$ , we have $P'P + Q'Q = \frac{333}{2} + \frac{333}{2} = 333$ . The length of the midline of a trapezoid is the average of their bases, so $P'Q' = \frac{500+650}{2} = 575$ . Finally, $PQ = 575 - 333 = \boxed{242}$

Answer:  242
Problem: In isosceles trapezoid $ABCD$ , parallel bases $\overline{AB}$ and $\overline{CD}$ have lengths $500$ and $650$ , respectively, and $AD=BC=333$ . The angle bisectors of $\angle{A}$ and $\angle{D}$ meet at $P$ , and the angle bisectors of $\angle{B}$ and $\angle{C}$ meet at $Q$ . Find $PQ$

Solution: This will be my first solution on AoPS. My apologies in advance for any errors.
Angle bisectors can be thought of as the locus of all points equidistant from the lines whose angle they bisect. It can thus be seen that $P$ is equidistant from $AB, AD,$ and $CD$ and $Q$ is equidistant from $AB, BC,$ and $CD.$ If we let the feet of the altitudes from $P$ to $AB, AD,$ and $CD$ be called $E, F,$ and $G$ respectively, we can say that $PE = PF = PG.$ Analogously, we let the feet of the altitudes from $Q$ to $AB, BC,$ and $CD$ be $H, I,$ and $J$ respectively. Thus, $QH = QI = QJ.$ Because $ABCD$ is an isosceles trapezoid, we can say that all of the altitudes are equal to each other.
By SA as well as SS congruence for right triangles, we find that triangles $AEP, AFP, BHQ,$ and $BIQ$ are congruent. Similarly, $DFP, DGP, CJQ,$ and $CIQ$ by the same reasoning. Additionally, $EH = GJ = PQ$ since $EHQP$ and $GJQP$ are congruent rectangles.
If we then let $x = AE = AF = BH = BI,$ let $y = CI = CJ = DG = DF,$ and let $z = EH = GJ = PQ,$ we can create the following system of equations with the given side length information: \begin{align*} 2x + z &= 500, \\ 2y + z &= 650, \\ x + y &= 333. \end{align*} Adding the first two equations, subtracting by twice the second, and dividing by $2$ yields $z = PQ = \boxed{242}.$

Answer:  242
Problem: In isosceles trapezoid $ABCD$ , parallel bases $\overline{AB}$ and $\overline{CD}$ have lengths $500$ and $650$ , respectively, and $AD=BC=333$ . The angle bisectors of $\angle{A}$ and $\angle{D}$ meet at $P$ , and the angle bisectors of $\angle{B}$ and $\angle{C}$ meet at $Q$ . Find $PQ$

Solution: Extend line $PQ$ to meet $AD$ at $P'$ and $BC$ at $Q'$ . The diagram looks like this: [asy] /* Made by MRENTHUSIASM */ size(300); pair A, B, C, D, A1, B1, C1, D1, P, Q, P1, Q1; A = (-250,6*sqrt(731)); B = (250,6*sqrt(731)); C = (325,-6*sqrt(731)); D = (-325,-6*sqrt(731)); A1 = bisectorpoint(B,A,D); B1 = bisectorpoint(A,B,C); C1 = bisectorpoint(B,C,D); D1 = bisectorpoint(A,D,C); P = intersectionpoint(A--300*(A1-A)+A,D--300*(D1-D)+D); Q = intersectionpoint(B--300*(B1-B)+B,C--300*(C1-C)+C); P1 = intersectionpoint(A--D,P--(-300)*(Q-P)+P); Q1 = intersectionpoint(B--C,Q--300*(Q-P)+Q); draw(anglemark(P,A,B,1000),red); draw(anglemark(D,A,P,1000),red); draw(anglemark(A,B,Q,1000),red); draw(anglemark(Q,B,C,1000),red); draw(anglemark(P,D,A,1000),red); draw(anglemark(C,D,P,1000),red); draw(anglemark(Q,C,D,1000),red); draw(anglemark(B,C,Q,1000),red); add(pathticks(anglemark(P,A,B,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(D,A,P,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(A,B,Q,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(Q,B,C,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(P,D,A,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(C,D,P,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(Q,C,D,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(B,C,Q,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); dot("$A$",A,1.5*dir(A),linewidth(4)); dot("$B$",B,1.5*dir(B),linewidth(4)); dot("$C$",C,1.5*dir(C),linewidth(4)); dot("$D$",D,1.5*dir(D),linewidth(4)); dot("$P$",P,1.5*NE,linewidth(4)); dot("$Q$",Q,1.5*NW,linewidth(4)); dot("$P'$",P1,1.5*W,linewidth(4)); dot("$Q'$",Q1,1.5*E,linewidth(4)); draw(A--B--C--D--cycle^^A--P--D^^B--Q--C^^P--Q); draw(P--P1^^Q--Q1,dashed); [/asy] Since $\angle A + \angle D=\angle B + \angle C = 180^{\circ}$ , it follows that $\angle P'AP+\angle P'DP = \angle Q'BQ + \angle Q'CQ = 90^{\circ}$ . Thus, $\angle APD = \angle BQC = 90^{\circ}$ , implying that $\triangle APD$ and $\triangle BQC$ are right triangles. Since $P'P$ and $Q'Q$ are medians, $P'P+Q'Q=\frac{333\times2}{2}=333$ . Since $P'Q'=\frac{500+650}{2}=575$ , we have $PQ+P'P+Q'Q=575$ , or $PQ=575-333=\boxed{242}$

Answer:  242
Problem: In isosceles trapezoid $ABCD$ , parallel bases $\overline{AB}$ and $\overline{CD}$ have lengths $500$ and $650$ , respectively, and $AD=BC=333$ . The angle bisectors of $\angle{A}$ and $\angle{D}$ meet at $P$ , and the angle bisectors of $\angle{B}$ and $\angle{C}$ meet at $Q$ . Find $PQ$

Solution: Let $PQ = x$ . Note that since $AP$ bisects $\angle{A}$ and $DP$ bisects $\angle{D}$ , we have \[\angle{APD} = 180^{\circ}-\tfrac12 \angle{A}-\tfrac12 \angle{D}=90^{\circ}.\] Let $\angle{ADP}=\theta$ . We have that $\angle{ADC} = 2\theta.$ Now, drop an altitude from $A$ to $CD$ at $E$ . Notice that $DE=\tfrac{650-500}{2}=75$ . By the definition of cosine, we have \[\cos{2\theta}=1-2\cos^2{\theta}=\tfrac{75}{333}=\tfrac{25}{111} \implies \cos{\theta}=\tfrac{2\sqrt{1887}}{111}.\] Notice, however, that we can also apply this to $\triangle{APD}$ ; we have \[\cos{\theta}=\tfrac{DP}{333} \implies DP=6\sqrt{1887}.\] By the Pythagorean Theorem, we get \[AP=\sqrt{333^2-(6\sqrt{1887})^2}=3\sqrt{4773}.\] Then, drop an altitude from $P$ to $AB$ at $F$ ; if $AF=y$ , then $PQ=x=500-2y$ . Because $AP$ is an angle bisector, we see that $\angle{BAP}=\angle{DAP}=90^{\circ}-\theta$ . Again, by the definition of cosine, we have \[\cos{(90^{\circ}-\theta)}=\sin{\theta}=\tfrac{\sqrt{4773}}{111}=\tfrac{y}{3\sqrt{4773}} \implies y=129.\] Finally, $PQ=500-2y=\boxed{242}$

Answer:  242
Problem: In isosceles trapezoid $ABCD$ , parallel bases $\overline{AB}$ and $\overline{CD}$ have lengths $500$ and $650$ , respectively, and $AD=BC=333$ . The angle bisectors of $\angle{A}$ and $\angle{D}$ meet at $P$ , and the angle bisectors of $\angle{B}$ and $\angle{C}$ meet at $Q$ . Find $PQ$

Solution: [asy] /* Made by MRENTHUSIASM */ size(300); pair A, B, C, D, A1, B1, C1, D1, P, Q, X, Y, Z, W; A = (-250,6*sqrt(731)); B = (250,6*sqrt(731)); C = (325,-6*sqrt(731)); D = (-325,-6*sqrt(731)); A1 = bisectorpoint(B,A,D); B1 = bisectorpoint(A,B,C); C1 = bisectorpoint(B,C,D); D1 = bisectorpoint(A,D,C); P = intersectionpoint(A--300*(A1-A)+A,D--300*(D1-D)+D); Q = intersectionpoint(B--300*(B1-B)+B,C--300*(C1-C)+C); draw(anglemark(P,A,B,1000),red); draw(anglemark(D,A,P,1000),red); draw(anglemark(A,B,Q,1000),red); draw(anglemark(Q,B,C,1000),red); draw(anglemark(P,D,A,1000),red); draw(anglemark(C,D,P,1000),red); draw(anglemark(Q,C,D,1000),red); draw(anglemark(B,C,Q,1000),red); add(pathticks(anglemark(P,A,B,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(D,A,P,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(A,B,Q,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(Q,B,C,1000), n = 1, r = 0.15, s = 750, red)); add(pathticks(anglemark(P,D,A,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(C,D,P,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(Q,C,D,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); add(pathticks(anglemark(B,C,Q,1000), n = 2, r = 0.12, spacing = 150, s = 750, red)); dot("$A$",A,1.5*dir(A),linewidth(4)); dot("$B$",B,1.5*dir(B),linewidth(4)); dot("$C$",C,1.5*dir(C),linewidth(4)); dot("$D$",D,1.5*dir(D),linewidth(4)); dot("$P$",P,1.5*NE,linewidth(4)); dot("$Q$",Q,1.5*NW,linewidth(4)); draw(A--B--C--D--cycle^^A--P--D^^B--Q--C^^P--Q); X = (-121,6*sqrt(731)); Y = (121,6*sqrt(731)); Z = (-121,-6*sqrt(731)); W = (121,-6*sqrt(731)); draw(X--Z^^Y--W,dashed); draw(rightanglemark(A,X,Z,500),red); draw(rightanglemark(B,Y,W,500),red); draw(rightanglemark(C,W,Y,500),red); draw(rightanglemark(D,Z,X,500),red); dot("$X$",X,1.5*N,linewidth(4)); dot("$Y$",Y,1.5*N,linewidth(4)); dot("$Z$",Z,1.5*S,linewidth(4)); dot("$W$",W,1.5*S,linewidth(4)); [/asy]
As in solution 4, $\angle APD = 90^{\circ}$ . Set $k = AX$ and $x = DP$
We know that $DZ = AX + \frac{DC-AB}{2}$ , so $DZ = k + \frac{650-500}{2} = k + 75$
$\triangle DPZ \sim \triangle APD$ by AA, so we have $\frac{PD}{AD} = \frac{ZD}{PD}$ , resulting in
\[\frac{x}{333} = \frac{k+75}{x} \text{ (1)}\]
$\triangle APX \sim \triangle ADP$ by AA, so we have $\frac{AP}{AD} = \frac{AX}{AP}$ , resulting in
\[\frac{\sqrt{333^2-x^2}}{333} = \frac{k}{\sqrt{333^2-k^2}} \text{ (2)}\]
From $\text{(1)}$ , we have $x^2 = 333k + 333(75) = 333k + 24975$ . From $\text{(2)}$ , we have $333^2 - x^2 = 333k$ , or $x^2 = 333^2 - 333k$ . Thus, $333k + 24975 = 333^2 - 333k$ . Solving for $k$ yields $k = 129$
By symmetry, $YB = AX = 129$ . Thus, $PQ = XY = AB - 2AX = 500 - 2(129) = \boxed{242}$

Answer:  242
Problem: Let $w = \dfrac{\sqrt{3} + i}{2}$ and $z = \dfrac{-1 + i\sqrt{3}}{2},$ where $i = \sqrt{-1}.$ Find the number of ordered pairs $(r,s)$ of positive integers not exceeding $100$ that satisfy the equation $i \cdot w^r = z^s.$

Solution: We rewrite $w$ and $z$ in polar form: \begin{align*} w &= e^{i\cdot\frac{\pi}{6}}, \\ z &= e^{i\cdot\frac{2\pi}{3}}. \end{align*} The equation $i \cdot w^r = z^s$ becomes \begin{align*} e^{i\cdot\frac{\pi}{2}} \cdot \left(e^{i\cdot\frac{\pi}{6}}\right)^r &= \left(e^{i\cdot\frac{2\pi}{3}}\right)^s \\ e^{i\left(\frac{\pi}{2}+\frac{\pi}{6}r\right)} &= e^{i\left(\frac{2\pi}{3}s\right)} \\ \frac{\pi}{2}+\frac{\pi}{6}r &= \frac{2\pi}{3}s+2\pi k \\ 3+r &= 4s+12k \\ 3+r &= 4(s+3k). \end{align*} for some integer $k.$
Since $4\leq 3+r\leq 103$ and $4\mid 3+r,$ we conclude that \begin{align*} 3+r &\in \{4,8,12,\ldots,100\}, \\ s+3k &\in \{1,2,3,\ldots,25\}. \end{align*} Note that the values for $s+3k$ and the values for $r$ have one-to-one correspondence.
We apply casework to the values for $s+3k:$
Together, the answer is $264+306+264=\boxed{834}.$

Answer:  834
Problem: Let $w = \dfrac{\sqrt{3} + i}{2}$ and $z = \dfrac{-1 + i\sqrt{3}}{2},$ where $i = \sqrt{-1}.$ Find the number of ordered pairs $(r,s)$ of positive integers not exceeding $100$ that satisfy the equation $i \cdot w^r = z^s.$

Solution: First we recognize that $w = \operatorname{cis}(30^{\circ})$ and $z = \operatorname{cis}(120^{\circ})$ because the cosine and sine sums of those angles give the values of $w$ and $z$ , respectively. By De Moivre's theorem, $\operatorname{cis}(\theta)^n = \operatorname{cis}(n\theta)$ . When you multiply by $i$ , we can think of that as rotating the complex number $90^{\circ}$ counterclockwise in the complex plane. Therefore, by the equation we know that $30r + 90$ and $120s$ land on the same angle.
This means that \[30r + 90 \equiv 120s \pmod{360},\] which we can simplify to \[r+3 \equiv 4s \pmod{12}.\] Notice that this means that $r$ cycles by $12$ for every value of $s$ . This is because once $r$ hits $12$ , we get an angle of $360^{\circ}$ and the angle laps onto itself again. By a similar reasoning, $s$ laps itself every $3$ times, which is much easier to count. By listing the possible values out, we get the pairs $(r,s)$ \[\begin{array}{cccccccc} (1,1) & (5,2) & (9,3) & (13,1) & (17,2) & (21,3) & \ldots & (97,1) \\ (1,4) & (5,5) & (9,6) & (13,4) & (17,5) & (21,6) & \ldots & (97,4) \\  (1,7) & (5,8) & (9,9) & (13,7) & (17,8) & (21,9) & \ldots & (97,7) \\ [-1ex] \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\ (1,100) & (5,98) & (9,99) & (13,100) & (17,98) & (21,99) & \ldots & (97,100) \end{array}\] We have $25$ columns in total: $34$ values for the first column, $33$ for the second, $33$ for the third, and then $34$ for the fourth, $33$ for the fifth, $33$ for the sixth, etc. Therefore, this cycle repeats every $3$ columns and our total sum is $(34+33+33) \cdot 8 + 34 = 100 \cdot 8 + 34 = \boxed{834}$

Answer:  834
Problem: A straight river that is $264$ meters wide flows from west to east at a rate of $14$ meters per minute. Melanie and Sherry sit on the south bank of the river with Melanie a distance of $D$ meters downstream from Sherry. Relative to the water, Melanie swims at $80$ meters per minute, and Sherry swims at $60$ meters per minute. At the same time, Melanie and Sherry begin swimming in straight lines to a point on the north bank of the river that is equidistant from their starting positions. The two women arrive at this point simultaneously. Find $D$

Solution: Define $m$ as the number of minutes they swim for.
Let their meeting point be $A$ . Melanie is swimming against the current, so she must aim upstream from point $A$ , to compensate for this; in particular, since she is swimming for $m$ minutes, the current will push her $14m$ meters downstream in that time, so she must aim for a point $B$ that is $14m$ meters upstream from point $A$ . Similarly, Sherry is swimming downstream for $m$ minutes, so she must also aim at point $B$ to compensate for the flow of the current.
If Melanie and Sherry were to both aim at point $B$ in a currentless river with the same dimensions, they would still both meet at that point simultaneously. Since there is no current in this scenario, the distances that Melanie and Sherry travel, respectively, are $80m$ and $60m$ meters. We can draw out this new scenario, with the dimensions that we have: [asy] unitsize(0.02cm); draw((0,0)--(0,264)--(550,264)--(550,0)--cycle); pair B = (198,264); dot(B^^(0,0)^^(550,0),linewidth(5)); draw((0,0)--B,dashed); draw((550,0)--B,dashed);  label("$60m$", (0,0)--B, E); label("$80m$", (550,0)--B, W); label("$264$", (0,0)--(0,264), W); label("$\frac{D}{2} - 14m$", (0,264)--B, N); label("$\frac{D}{2} + 14m$", B--(550,264), N); label("$D$", (0,0)--(550,0), S); label("$B$", B, N);  label("Downstream", (350,325), E); label("Upstream", (200,325), W); draw((225,325)--(325,325), Arrows); [/asy] (While it is indeed true that the triangle above with side lengths $60m$ $80m$ and $D$ is a right triangle, we do not know this yet, so we cannot assume this based on the diagram.)
By the Pythagorean Theorem, we have \begin{align*} 264^{2} + \left( \frac{D}{2} - 14m \right) ^{2} &= 3600m^{2} \\ 264^{2} + \left( \frac{D}{2} + 14m \right) ^{2} &= 6400m^{2}. \end{align*}
Subtracting the first equation from the second gives us $28Dm = 2800m^{2}$ , so $D = 100m$ . Substituting this into our first equation, we have that \begin{align*}264^{2} + 36^{2} m^{2} &= 60^{2}m^{2} \\ 264^{2} &= 96 \cdot 24 \cdot m^{2} \\ 11^{2} &= 4 \cdot m^{2} \\ m &= \frac{11}{2}. \end{align*}
So $D = 100m = \boxed{550}$

Answer:  550
Problem: A straight river that is $264$ meters wide flows from west to east at a rate of $14$ meters per minute. Melanie and Sherry sit on the south bank of the river with Melanie a distance of $D$ meters downstream from Sherry. Relative to the water, Melanie swims at $80$ meters per minute, and Sherry swims at $60$ meters per minute. At the same time, Melanie and Sherry begin swimming in straight lines to a point on the north bank of the river that is equidistant from their starting positions. The two women arrive at this point simultaneously. Find $D$

Solution: Claim
Median $AM$ and altitude $AH$ are drawn in triangle $ABC$ $AB = c, AC = b < c, BC = a$ are known. Let's denote $MH = x$
Prove that \begin{align*}2ax = c^{2} - b^{2}\end{align*}
Proof \[BH + CH = a,\] \begin{align*} BH^{2} - CH^{2} = c^{2} - b^{2}\implies BH - CH &= \frac{c^{2} - b^{2}} {a},\end{align*} \[BH =  \frac{c^{2} - b^{2}}{2a} +  \frac{a}{2},\] \begin{align*}MH = BH - BM  &= \frac{c^{2} - b^{2}} {2a}.\end{align*}
Solution
In the coordinate system associated with water, the movement is described by the scheme in the form of a triangle, the side on which Melanie floats is $80t$ , where t is the time of  Melanie's movement, the side along which Sherry floats is $60t$
The meeting point floated away at a distance of $14t$ from the midpoint between the starting points of Melanie and Sherry.
In the notation of the Claim \begin{align*}  c = 80t, b = 60t, x = 14t \implies a = \frac{(80t)^2-(60t)^2}{2 \cdot 14t}=\frac{20^2}{4}\cdot \frac{16-9}{7}t = 100t.\end{align*} Hence, \begin{align*}  AH = \sqrt{BC^2-BH^2}= \sqrt{(80t)^2-(50t+14t)^2}=16t \cdot \sqrt{5^2-4^2}= 48t = 264 \implies t = 5.5.\end{align*} \[D = a = 100t = \boxed{550}\] vladimir.shelomovskii@gmail.com, vvsss

Answer:  550
Problem: A straight river that is $264$ meters wide flows from west to east at a rate of $14$ meters per minute. Melanie and Sherry sit on the south bank of the river with Melanie a distance of $D$ meters downstream from Sherry. Relative to the water, Melanie swims at $80$ meters per minute, and Sherry swims at $60$ meters per minute. At the same time, Melanie and Sherry begin swimming in straight lines to a point on the north bank of the river that is equidistant from their starting positions. The two women arrive at this point simultaneously. Find $D$

Solution: We have the following diagram: [asy] /* Made by MRENTHUSIASM */ size(350); pair A, B, C; A = (0,264); B = (-275,0); C = (275,0); draw((-300,0)--(300,0)^^(-300,264)--(300,264)^^A--B^^A--C,linewidth(2)); dot("Finish",A,1.75*N,linewidth(5)); dot("Sherry",B,1.75*S,linewidth(5)); dot("Melanie",C,1.75*S,linewidth(5)); Label L1 = Label("$D$", align=(0,0), position=MidPoint, filltype=Fill(3,0,white)); Label L2 = Label("$264$", align=(0,0), position=MidPoint, filltype=Fill(0,3,white)); Label L3 = Label("Current $(14)$", position=EndPoint, filltype=Fill(3,0,white)); Label L4 = Label("$y$", align=(-1,0), position=Relative(0.4)); Label L5 = Label("$x$", align=(0,1), position=Relative(0.4)); Label L6 = Label("$y$", align=(1,0), position=Relative(0.4)); Label L7 = Label("$x$", align=(0,1), position=Relative(0.4)); draw(B-(0,75)--C-(0,75), L=L1, arrow=Arrows(),bar=Bars(15)); draw((-350,0)--(-350,264), L=L2, arrow=Arrows(),bar=Bars(15)); draw((-300,-120)--(300,-120), L=L3, arrow=EndArrow()); draw(B--B+(0,48), L=L4, arrow=EndArrow()); draw(B+(0,48)--B+(50,48), L=L5, arrow=EndArrow()); draw(C--C+(0,48), L=L6, arrow=EndArrow()); draw(C+(0,48)--C+(-50,48), L=L7, arrow=EndArrow()); [/asy] Since Melanie and Sherry swim for the same distance and the same amount of time, they swim at the same net speed.
Let $x$ and $y$ be some positive numbers. We have the following table: \[\begin{array}{c||c|c|c}     & \textbf{Net Velocity Vector (m/min)} & \textbf{Natural Velocity Vector (m/min)} & \textbf{Natural Speed (m/min)} \\ \hline \hline &&& \\ [-2.25ex] \textbf{Melanie} & \langle -x,y\rangle & \langle -x-14,y\rangle & 80  \\ \hline   &&& \\ [-2.25ex] \textbf{Sherry} & \langle x,y\rangle & \langle x-14,y\rangle & 60 \end{array}\] Recall that $|\text{velocity}|=\text{speed},$ so \begin{align*} (-x-14)^2 + y^2 &= 80^2, &&(1) \\ (x-14)^2 + y^2 &= 60^2. &&(2) \end{align*} We subtract $(2)$ from $(1)$ to get $56x=2800,$ from which $x=50.$ Substituting this into either equation, we have $y=48.$
It follows that Melanie and Sherry both swim for $264\div y=5.5$ minutes. Therefore, the answer is \[D=2x\cdot5.5=\boxed{550}.\] ~MRENTHUSIASM

Answer:  550
Problem: Find the number of ordered pairs of integers $(a, b)$ such that the sequence \[3, 4, 5, a, b, 30, 40, 50\] is strictly increasing and no set of four (not necessarily consecutive) terms forms an arithmetic progression.

Solution: Since $3,4,5,a$ and $3,4,5,b$ cannot be an arithmetic progression, $a$ or $b$ can never be $6$ . Since $b, 30, 40, 50$ and $a, 30, 40, 50$ cannot be an arithmetic progression, $a$ and $b$ can never be $20$ . Since $a < b$ , there are ${24 - 2 \choose 2} = 231$ ways to choose $a$ and $b$ with these two restrictions in mind.
However, there are still specific invalid cases counted in these $231$ pairs $(a,b)$ . Since \[3,5,a,b\] cannot form an arithmetic progression, $\underline{(a,b) \neq (7,9)}$ \[a,b,30,50\] cannot be an arithmetic progression, so $(a,b) \neq (-10,10)$ ; however, since this pair was not counted in our $231$ , we do not need to subtract it off. \[3,a,b,30\] cannot form an arithmetic progression, so $\underline{(a,b) \neq (12,21)}$ \[4, a, b, 40\] cannot form an arithmetic progression, so $\underline{(a,b) \neq (16,28)}$ \[5, a,b, 50\] cannot form an arithmetic progression, $(a,b) \neq 20, 35$ ; however, since this pair was not counted in our $231$ (since we disallowed $a$ or $b$ to be $20$ ), we do not to subtract it off.
Also, the sequences $(3,a,b,40)$ $(3,a,b,50)$ $(4,a,b,30)$ $(4,a,b,50)$ $(5,a,b,30)$ and $(5,a,b,40)$ will never be arithmetic, since that would require $a$ and $b$ to be non-integers.
So, we need to subtract off $3$ progressions from the $231$ we counted, to get our final answer of $\boxed{228}$

Answer:  228