a) \(A=1.2+2.3+3.4+...+999.1000\)
\(3A=1.2.3+2.3.\left(4-1\right)+3.4.\left(5-2\right)+...+999.1000.\left(1001-998\right)\)
\(=1.2.3+2.3.4-1.2.3+3.4.5-2.3.4+...+999.1000.1001-998.999.1000\)
\(=999.1000.1001\)
\(A=\frac{999.1000.1001}{3}\)
b) \(B=1.3+3.5+5.7+...+999.1001\)
\(6B=1.3.6+3.5.\left(7-1\right)+5.7.\left(9-3\right)+...+999.1001.\left(1003-997\right)\)
\(=1.3.6+3.5.7-1.3.5+5.7.9-3.5.7+...+999.1001.1003-997.999.1003\)
\(=999.1001.1003+1.3\)
\(B=\frac{999.1001.1003+1.3}{6}\)