I have no clue how this expression gets derived.

Say I'm given a hash table. Now I decided to double the hash table and rehash everything. How does the total number of hashes for a table with m+1 elements become

1 + 2*m/2 + 3*m/4 + 4*m/8 + 5*m/16 + 6*m/32 +....