updated term output

for cases in which base or exponent is 0 or 1