100a(a + 1) so you multiply tens by tens plus one, by putting it in front of 25 you "multiply" by 100.

If that wasn't clear, what you are doing is getting them number a(a+1) like you said (3*4), and then shifting that over two digits to make room for the 25 on the right.

Nicely done kempos.