Ta có: B= 3 + 33 + 35 + ... + 31991= (3 + 33 + 35) + (37+ 39 + 311 ) + ... + (31987 + 31989 + 31991).
= 3 x (1 + 32 + 34) + 37 x (1 + 32 + 34) + ... + 31987 x (1 + 32 + 34).
= 3 x 91 + 37 x 91 + ... + 31987 x 91= 3 x 7 x 13 + 37 x 7 x 13 + ... + 31987 x 7 x 13.
= 13 x ( 3 x 7 + 37 x 7 + ... + 31987 x 7).
Vì B = 13 x ( 3 x 7 + 37 x 7 + ... + 31987 x 7) nên B chia hết cho 13.
B= (3 + 33 + 35 + 37) + ... + (31985 + 31987 + 31989 + 31991).
= 3 x (1 + 32 + 34 + 36) + ... + 31985 x (1 + 32 + 34 + 36).
= 3 x 820 + ... + 31985 x 820= 3 x 20 x 41 + ... + 31985 x 20 x 41.
= 41 x ( 3 x 20 + .. + 31985 x 20)
Vì B =41 x ( 3 x 20 + .. + 31985 x 20) nên B chia hết cho 41.