第 968 题:(2008 AMC 10b, 15)
How many right triangles have integer leg lengths $a$ and $b$ and a hypotenuse of length $b+1$, where $b<100$?
$\textbf{(A)}\ 6\qquad\textbf{(B)}\ 7\qquad\textbf{(C)}\ 8\qquad\textbf{(D)}\ 9\qquad\textbf{(E)}\ 10$
- $a^2+b^2=(b+1)^2$ gives $a^2=2b+1$, so $a$ is odd and $b=\frac{a^2-1}2$.
- $b<100$ means $a^2<201$; with $a\ge3$: $a=3,5,7,9,11,13$. So $6$ triangles. The answer is (A).
How many right triangles have integer leg lengths $a$ and $b$ and a hypotenuse of length $b+2$, where $b<100$?