I have this conjecture: Let a and b be integers and n and m natural numbers.
$$ a \equiv b \bmod n \Rightarrow a^m \equiv b^m \bmod n$$
I think I got the induction proof, but I'm having difficulties on how to proof this with well-ordering principle.
I have this conjecture: Let a and b be integers and n and m natural numbers.
$$ a \equiv b \bmod n \Rightarrow a^m \equiv b^m \bmod n$$
I think I got the induction proof, but I'm having difficulties on how to proof this with well-ordering principle.
Let $k$ be the smallest natural number such that $a^k \not\equiv b^k \mod n$ (such a number exists by the well-ordering principle). We have that $a \equiv b \mod n$ (hence $k \ge 2$). If now $a^{k-1} \equiv b^{k-1} \mod n$, then
$$ a^k \equiv a^{k-1} a \equiv b^{k-1} a \equiv b^{k-1} b \equiv b^k \mod n, $$
which contradicts $a^k \not\equiv b^k \mod n$. Hence, $a^{k-1} \not\equiv b^{k-1} \mod n$, and thus $j:=k-1$ is a smaller number with $a^j \not\equiv b^j \mod n$, and since $k \ge 2$, $j$ is a natural number. This contradicts the fact that $k$ was the smallest number with that property.
EDIT: By 'natural number' i mean positive integer.
Notice that
$a^m-b^m=(a-b)\sum\limits_{k=0}^{m-1}a^{m-k-1}b^{k}=(a-b)(a^{m-1}+a^{m-2}b+\ldots+ab^{m-2}+b^{m-1})$
So
$a-b | a^m-b^m $