A = 2015 + 20152 + ... + 201520
2014.A = 2015.A - A = (20152 + 20153 + ... + 201521) - (2015 + 20152 + ... + 201520) = 201521 - 2015
=> A = \(\frac{2015^{21}-2015}{2014}\)
B = 3 + 32 + ... + 399
2.B = 3.B - B = (32 + 33 + ... + 3100) - (3 + 32 + ... + 399) = 3100 - 3
=> B = \(\frac{3^{100}-3}{2}\)