Lời giải:
\(299A=\frac{300-1}{1.300}+\frac{301-2}{2.301}+\frac{302-3}{3.302}+....+\frac{400-101}{101.400}\)
\(=1-\frac{1}{300}+\frac{1}{2}-\frac{1}{301}+\frac{1}{3}-\frac{1}{302}+...+\frac{1}{101}-\frac{1}{400}\)
\(=(1+\frac{1}{2}+....+\frac{1}{101})-(\frac{1}{300}+\frac{1}{301}+...+\frac{1}{400})(1)\)
Mặt khác:
$101B=\frac{102-1}{1.102}+\frac{103-2}{2.103}+...+\frac{400-299}{299.400}$
$=1-\frac{1}{102}+\frac{1}{2}-\frac{1}{103}+....+\frac{1}{299}-\frac{1}{400}$
$=(1+\frac{1}{2}+\frac{1}{3}+....+\frac{1}{299})-(\frac{1}{102}+\frac{1}{103}+....+\frac{1}{400})$
$=(1+\frac{1}{2}+...+\frac{1}{101})-(\frac{1}{300}+\frac{1}{301}+...+\frac{1}{400})(2)$
Từ $(1);(2)\Rightarrow 299A=101B$
$\Rightarrow \frac{A}{B}=\frac{101}{299}$