\(B=1+2+4+5+7+8+10+...+119+121+122\)
Ta có :
\(A=1+2+3+...+121+122\)
\(A=\left[\left(122-1\right):1+1\right]\left(1+122\right):2\)
\(A=122.\left(123\right):2=7503\)
Ta lại có :
\(C=3+6+9+...+120\)
\(C=\left[\left(120-3\right):3+1\right]\left(3+120\right):2\)
\(C=40.123:2=2460\)
Ta thấy : \(B=A-C\)
\(B=7503-2460=5043\)