Problem29: How many distinct terms are in the sequence generated by a^b
for 2  <= a <= 100 and 2 <= b <=  100?