A = 1 + 2 + (22 + 23 + 24) + (25 + 26 + 27) + (28 + 29 + 210) + ...+ (22010 + 22011 + 22012)
= 3 + 22(1 + 2 + 22) + 25(1 + 2 + 22) + 28(1 + 2 + 22) + ... + 22010( 1 + 2 + 22)
= 3 + 22.7 + 25.7 + 28.7 + ... + 22010.7
= 3 + 7(22 + 25 + 28 + ... + 22010)
Vậy A chia cho 7 dư 3