5 + 52 + 53 + ... + 599
= 5.(1 + 5 + 52) + 54.(1 + 5 + 52) + ... + 597.(1 + 5 + 52)
= 5.31 + 54.31 + ... + 597.31
= 31.(5 + 54 + .. + 597) chia hết cho 31
4 + 42 + 43 + ... + 499
= 4.(1 + 4 + 42) + 44.(1 + 4 + 42) + ... + 497.(1 + 4 + 42)
= 4.21 + 44.21 + ... + 497.21
= 4.21.(1 + 43 + ... + 496)
= 4.7.3.(1 + 43 + ... + 496)
= 28.3.(1 + 43 + ... + 496) chia hết cho 28