S = (21+22)+(23+24)+...+(299+2100)
S = 2.(1+2)+23.(1+2)+...+299.(1+2)
S = 2.3+23.3+...+299.3
S = 3.(2+23+...+299)
=> S chia hết cho 3
S = (21+22+23+24)+(25+26+27+28)+...+(297+298+299+2100)
S = 2.(1+2+4+16)+25.(1+2+4+16)+...+297.(1+2+4+16)
S = 2.15+25.15+...+297.15
S = 15.(2+25+...+297)
=> S chia hết cho 15