pascal's triange
iterative exponentiation