raising fractions to higher terms