Show that if $a equiv bpmod{kn}$, then $a^kequiv b^kpmod{k^2n}$ [duplicate]
This question already has an answer here:
How to prove that if $aequiv b pmod{kn}$ then $a^kequiv b^k pmod{k^2n}$
3 answers
Problem
Show that if $a equiv bpmod{2n}$, then $a^2equiv b^2pmod{4n}$. More generally, show that if $a equiv bpmod{kn}$, then $a^kequiv b^kpmod{k^2n}$. [Introduction to Higher Arithmetic, ex. 2.1]
Proof of the first statement
Note that $2n mid a - bimplies 2n (a + b)mid a^2 - b^2$ but the $pmod{2n}$ congruence implies that $a$ and $b$ are of the same parity and so $2mid (a + b)$ which implies that $2n cdot 2mid 2n (a + b)mid a^2 - b^2$ or $a^2 = b^2pmod{4n}$.
Attempt at proof of the general case
Multiplying $a equiv bpmod{kn}$ by itself $k$ times, we get $a^k equiv b^kpmod{kn}$, but it is still needed to prove that $k$ divides $a^k - b^k$. It maybe stands reasonable to consider the following expansion: $$(a - b) ^ k = a^k - {k choose 1} a^{k-1}b^1 + {k choose 2} a^{k-2}b^2 - cdots mp {k choose 1} a^1b^{k-1} pm b^k$$ Under $pmod{kn}$, we can replace any $b$ with $a$ and vice versa, which might be useful. Maybe the trick is to sum binomial coefficients to a number (or two numbers) which are divisible by $k$. But sum over all of coefficients is $2^k$, which is not necessarily divisible by $k$.
So, I got stuck here.
elementary-number-theory modular-arithmetic
marked as duplicate by Bill Dubuque
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 4 at 15:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How to prove that if $aequiv b pmod{kn}$ then $a^kequiv b^k pmod{k^2n}$
3 answers
Problem
Show that if $a equiv bpmod{2n}$, then $a^2equiv b^2pmod{4n}$. More generally, show that if $a equiv bpmod{kn}$, then $a^kequiv b^kpmod{k^2n}$. [Introduction to Higher Arithmetic, ex. 2.1]
Proof of the first statement
Note that $2n mid a - bimplies 2n (a + b)mid a^2 - b^2$ but the $pmod{2n}$ congruence implies that $a$ and $b$ are of the same parity and so $2mid (a + b)$ which implies that $2n cdot 2mid 2n (a + b)mid a^2 - b^2$ or $a^2 = b^2pmod{4n}$.
Attempt at proof of the general case
Multiplying $a equiv bpmod{kn}$ by itself $k$ times, we get $a^k equiv b^kpmod{kn}$, but it is still needed to prove that $k$ divides $a^k - b^k$. It maybe stands reasonable to consider the following expansion: $$(a - b) ^ k = a^k - {k choose 1} a^{k-1}b^1 + {k choose 2} a^{k-2}b^2 - cdots mp {k choose 1} a^1b^{k-1} pm b^k$$ Under $pmod{kn}$, we can replace any $b$ with $a$ and vice versa, which might be useful. Maybe the trick is to sum binomial coefficients to a number (or two numbers) which are divisible by $k$. But sum over all of coefficients is $2^k$, which is not necessarily divisible by $k$.
So, I got stuck here.
elementary-number-theory modular-arithmetic
marked as duplicate by Bill Dubuque
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 4 at 15:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How to prove that if $aequiv b pmod{kn}$ then $a^kequiv b^k pmod{k^2n}$
3 answers
Problem
Show that if $a equiv bpmod{2n}$, then $a^2equiv b^2pmod{4n}$. More generally, show that if $a equiv bpmod{kn}$, then $a^kequiv b^kpmod{k^2n}$. [Introduction to Higher Arithmetic, ex. 2.1]
Proof of the first statement
Note that $2n mid a - bimplies 2n (a + b)mid a^2 - b^2$ but the $pmod{2n}$ congruence implies that $a$ and $b$ are of the same parity and so $2mid (a + b)$ which implies that $2n cdot 2mid 2n (a + b)mid a^2 - b^2$ or $a^2 = b^2pmod{4n}$.
Attempt at proof of the general case
Multiplying $a equiv bpmod{kn}$ by itself $k$ times, we get $a^k equiv b^kpmod{kn}$, but it is still needed to prove that $k$ divides $a^k - b^k$. It maybe stands reasonable to consider the following expansion: $$(a - b) ^ k = a^k - {k choose 1} a^{k-1}b^1 + {k choose 2} a^{k-2}b^2 - cdots mp {k choose 1} a^1b^{k-1} pm b^k$$ Under $pmod{kn}$, we can replace any $b$ with $a$ and vice versa, which might be useful. Maybe the trick is to sum binomial coefficients to a number (or two numbers) which are divisible by $k$. But sum over all of coefficients is $2^k$, which is not necessarily divisible by $k$.
So, I got stuck here.
elementary-number-theory modular-arithmetic
This question already has an answer here:
How to prove that if $aequiv b pmod{kn}$ then $a^kequiv b^k pmod{k^2n}$
3 answers
Problem
Show that if $a equiv bpmod{2n}$, then $a^2equiv b^2pmod{4n}$. More generally, show that if $a equiv bpmod{kn}$, then $a^kequiv b^kpmod{k^2n}$. [Introduction to Higher Arithmetic, ex. 2.1]
Proof of the first statement
Note that $2n mid a - bimplies 2n (a + b)mid a^2 - b^2$ but the $pmod{2n}$ congruence implies that $a$ and $b$ are of the same parity and so $2mid (a + b)$ which implies that $2n cdot 2mid 2n (a + b)mid a^2 - b^2$ or $a^2 = b^2pmod{4n}$.
Attempt at proof of the general case
Multiplying $a equiv bpmod{kn}$ by itself $k$ times, we get $a^k equiv b^kpmod{kn}$, but it is still needed to prove that $k$ divides $a^k - b^k$. It maybe stands reasonable to consider the following expansion: $$(a - b) ^ k = a^k - {k choose 1} a^{k-1}b^1 + {k choose 2} a^{k-2}b^2 - cdots mp {k choose 1} a^1b^{k-1} pm b^k$$ Under $pmod{kn}$, we can replace any $b$ with $a$ and vice versa, which might be useful. Maybe the trick is to sum binomial coefficients to a number (or two numbers) which are divisible by $k$. But sum over all of coefficients is $2^k$, which is not necessarily divisible by $k$.
So, I got stuck here.
This question already has an answer here:
How to prove that if $aequiv b pmod{kn}$ then $a^kequiv b^k pmod{k^2n}$
3 answers
elementary-number-theory modular-arithmetic
elementary-number-theory modular-arithmetic
edited Jan 4 at 14:46
TheSimpliFire
12.7k62260
12.7k62260
asked Jan 4 at 14:35
user3496846user3496846
1165
1165
marked as duplicate by Bill Dubuque
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 4 at 15:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Bill Dubuque
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Jan 4 at 15:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Note that $aequiv bpmod{kn}implies a=b+kln$ for some integer $l$. Then $$a^k-b^k=(b+kln)^k-b^k=binom k1b^{k-1}kln+binom k2b^{k-2}(kln)^2+cdots+(kln)^k$$ Every term has a factor of $k^2n$ from $(kln)^t$ for $1<tle k$ but $dbinom k1=k$ so $k^2nmid (a^k-b^k)$.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Note that $aequiv bpmod{kn}implies a=b+kln$ for some integer $l$. Then $$a^k-b^k=(b+kln)^k-b^k=binom k1b^{k-1}kln+binom k2b^{k-2}(kln)^2+cdots+(kln)^k$$ Every term has a factor of $k^2n$ from $(kln)^t$ for $1<tle k$ but $dbinom k1=k$ so $k^2nmid (a^k-b^k)$.
add a comment |
Note that $aequiv bpmod{kn}implies a=b+kln$ for some integer $l$. Then $$a^k-b^k=(b+kln)^k-b^k=binom k1b^{k-1}kln+binom k2b^{k-2}(kln)^2+cdots+(kln)^k$$ Every term has a factor of $k^2n$ from $(kln)^t$ for $1<tle k$ but $dbinom k1=k$ so $k^2nmid (a^k-b^k)$.
add a comment |
Note that $aequiv bpmod{kn}implies a=b+kln$ for some integer $l$. Then $$a^k-b^k=(b+kln)^k-b^k=binom k1b^{k-1}kln+binom k2b^{k-2}(kln)^2+cdots+(kln)^k$$ Every term has a factor of $k^2n$ from $(kln)^t$ for $1<tle k$ but $dbinom k1=k$ so $k^2nmid (a^k-b^k)$.
Note that $aequiv bpmod{kn}implies a=b+kln$ for some integer $l$. Then $$a^k-b^k=(b+kln)^k-b^k=binom k1b^{k-1}kln+binom k2b^{k-2}(kln)^2+cdots+(kln)^k$$ Every term has a factor of $k^2n$ from $(kln)^t$ for $1<tle k$ but $dbinom k1=k$ so $k^2nmid (a^k-b^k)$.
answered Jan 4 at 14:41
TheSimpliFireTheSimpliFire
12.7k62260
12.7k62260
add a comment |
add a comment |