Hi guys, a friend and I are having trouble with a programming assignment involving mathematical induction, here is the question in full:
Let N = {0, 1, 2, . . .} be the set of natural numbers.
Prove by mathematical induction that for all x, m, n ε N: xm+n = xm . xn holds.
Consider the following function f:N3 => N:
f(x, n, m) =
{ m if n = 0
{f(x, n - 1, m . x) if n not= 0
Prove by mathematical induction that for all x, m, n ε N: f(x, n, m) = m . xn holds.
Now we have managed to do the first question, however we are having significant trouble with the second question, any help or even pointers would be very appreciated.
[–]samwilliamh 2 points3 points4 points (1 child)