How to solve $x^r [ x^n + 1] = x^{r[n]}$












1












$begingroup$


I send this message to have a piece of advice to solve my problem. Here is the statement:



Assume $k$ belongs to $N$ and $GF(2^k)[x]$ is a ring of polynomials with coefficients in the field $GF(2^k)$. Prove, that if $r$ belongs to $N$, $n$ belongs to $N$, $n geq 2$ and $x^r$ is a polynomial from the ring of polynomials
$GF(2^k )[x]$, then we have:



$$x^r bmod(x^n + 1) = x^{r bmod (n)}.$$



I wanted to prove this by a proposition. Showing that's true for $n = 2$ and then showing that it's true for all $n geq 2.$



I succeeded to prove this in case $r < 2$ because $x^r bmod(x^n+1) = x^r$ and $r[n] = r$. But then I encounter an issue for $n =2$ and for greater I don't know how to prove this.



for $r = 2$ we have $x^r [ x^n + 1] = -1$ and $x^0 = 1.$



Thank you in advance










share|cite|improve this question











$endgroup$












  • $begingroup$
    See here how to edit your question with mathjax
    $endgroup$
    – Jakobian
    Jan 10 at 21:04










  • $begingroup$
    @kelalaka Your edit distorted one of the formulas. If you don't understand, don't guess. Let it be.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:18












  • $begingroup$
    @MathLover Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:20










  • $begingroup$
    @AdrianKeisler Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:20










  • $begingroup$
    @JyrkiLahtonen my mistake, sorry.
    $endgroup$
    – kelalaka
    Jan 11 at 6:24
















1












$begingroup$


I send this message to have a piece of advice to solve my problem. Here is the statement:



Assume $k$ belongs to $N$ and $GF(2^k)[x]$ is a ring of polynomials with coefficients in the field $GF(2^k)$. Prove, that if $r$ belongs to $N$, $n$ belongs to $N$, $n geq 2$ and $x^r$ is a polynomial from the ring of polynomials
$GF(2^k )[x]$, then we have:



$$x^r bmod(x^n + 1) = x^{r bmod (n)}.$$



I wanted to prove this by a proposition. Showing that's true for $n = 2$ and then showing that it's true for all $n geq 2.$



I succeeded to prove this in case $r < 2$ because $x^r bmod(x^n+1) = x^r$ and $r[n] = r$. But then I encounter an issue for $n =2$ and for greater I don't know how to prove this.



for $r = 2$ we have $x^r [ x^n + 1] = -1$ and $x^0 = 1.$



Thank you in advance










share|cite|improve this question











$endgroup$












  • $begingroup$
    See here how to edit your question with mathjax
    $endgroup$
    – Jakobian
    Jan 10 at 21:04










  • $begingroup$
    @kelalaka Your edit distorted one of the formulas. If you don't understand, don't guess. Let it be.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:18












  • $begingroup$
    @MathLover Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:20










  • $begingroup$
    @AdrianKeisler Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:20










  • $begingroup$
    @JyrkiLahtonen my mistake, sorry.
    $endgroup$
    – kelalaka
    Jan 11 at 6:24














1












1








1





$begingroup$


I send this message to have a piece of advice to solve my problem. Here is the statement:



Assume $k$ belongs to $N$ and $GF(2^k)[x]$ is a ring of polynomials with coefficients in the field $GF(2^k)$. Prove, that if $r$ belongs to $N$, $n$ belongs to $N$, $n geq 2$ and $x^r$ is a polynomial from the ring of polynomials
$GF(2^k )[x]$, then we have:



$$x^r bmod(x^n + 1) = x^{r bmod (n)}.$$



I wanted to prove this by a proposition. Showing that's true for $n = 2$ and then showing that it's true for all $n geq 2.$



I succeeded to prove this in case $r < 2$ because $x^r bmod(x^n+1) = x^r$ and $r[n] = r$. But then I encounter an issue for $n =2$ and for greater I don't know how to prove this.



for $r = 2$ we have $x^r [ x^n + 1] = -1$ and $x^0 = 1.$



Thank you in advance










share|cite|improve this question











$endgroup$




I send this message to have a piece of advice to solve my problem. Here is the statement:



Assume $k$ belongs to $N$ and $GF(2^k)[x]$ is a ring of polynomials with coefficients in the field $GF(2^k)$. Prove, that if $r$ belongs to $N$, $n$ belongs to $N$, $n geq 2$ and $x^r$ is a polynomial from the ring of polynomials
$GF(2^k )[x]$, then we have:



$$x^r bmod(x^n + 1) = x^{r bmod (n)}.$$



I wanted to prove this by a proposition. Showing that's true for $n = 2$ and then showing that it's true for all $n geq 2.$



I succeeded to prove this in case $r < 2$ because $x^r bmod(x^n+1) = x^r$ and $r[n] = r$. But then I encounter an issue for $n =2$ and for greater I don't know how to prove this.



for $r = 2$ we have $x^r [ x^n + 1] = -1$ and $x^0 = 1.$



Thank you in advance







finite-fields cryptography






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 11 at 6:17









Jyrki Lahtonen

110k13172390




110k13172390










asked Jan 10 at 20:55









Hugo PeyronHugo Peyron

244




244












  • $begingroup$
    See here how to edit your question with mathjax
    $endgroup$
    – Jakobian
    Jan 10 at 21:04










  • $begingroup$
    @kelalaka Your edit distorted one of the formulas. If you don't understand, don't guess. Let it be.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:18












  • $begingroup$
    @MathLover Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:20










  • $begingroup$
    @AdrianKeisler Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:20










  • $begingroup$
    @JyrkiLahtonen my mistake, sorry.
    $endgroup$
    – kelalaka
    Jan 11 at 6:24


















  • $begingroup$
    See here how to edit your question with mathjax
    $endgroup$
    – Jakobian
    Jan 10 at 21:04










  • $begingroup$
    @kelalaka Your edit distorted one of the formulas. If you don't understand, don't guess. Let it be.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:18












  • $begingroup$
    @MathLover Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:20










  • $begingroup$
    @AdrianKeisler Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 6:20










  • $begingroup$
    @JyrkiLahtonen my mistake, sorry.
    $endgroup$
    – kelalaka
    Jan 11 at 6:24
















$begingroup$
See here how to edit your question with mathjax
$endgroup$
– Jakobian
Jan 10 at 21:04




$begingroup$
See here how to edit your question with mathjax
$endgroup$
– Jakobian
Jan 10 at 21:04












$begingroup$
@kelalaka Your edit distorted one of the formulas. If you don't understand, don't guess. Let it be.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 6:18






$begingroup$
@kelalaka Your edit distorted one of the formulas. If you don't understand, don't guess. Let it be.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 6:18














$begingroup$
@MathLover Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 6:20




$begingroup$
@MathLover Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 6:20












$begingroup$
@AdrianKeisler Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 6:20




$begingroup$
@AdrianKeisler Careful when approving edits. One of the remainder operations was in the exponent, and you approved an edit turning the question into non-sense.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 6:20












$begingroup$
@JyrkiLahtonen my mistake, sorry.
$endgroup$
– kelalaka
Jan 11 at 6:24




$begingroup$
@JyrkiLahtonen my mistake, sorry.
$endgroup$
– kelalaka
Jan 11 at 6:24










1 Answer
1






active

oldest

votes


















2












$begingroup$

Hints:




  • Show that for all positive integers $q$ the polynomial $x^{qn}-1$ is divisible by the polynomial $x^n-1$. Observe that we are in characteristic two, so $x^n-1$ and $x^n+1$ mean the same thing.

  • Show that $x^{qn}equiv1pmod{x^n+1}$ for all positive integers $q$.

  • Show that $x^{qn+b}equiv x^bpmod{x^n+1}$ for all positive integers $q,b$.

  • We can write any integer $r$ in the form $r=qn+b$ where $q$ is an integer, and $b$ is the remainder of $r$ when divided modulo $n$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Essentially all the calculations are done here and many other places. I was a bit baffled in not finding this as a question themed on remainders. Only then it dawned on me to search using gcd, where the same calculation is needed. Luckily I had the sense to CW this right away.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:46










  • $begingroup$
    See here for a polynomial variant.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:47












Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3069160%2fhow-to-solve-xr-xn-1-xrn%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2












$begingroup$

Hints:




  • Show that for all positive integers $q$ the polynomial $x^{qn}-1$ is divisible by the polynomial $x^n-1$. Observe that we are in characteristic two, so $x^n-1$ and $x^n+1$ mean the same thing.

  • Show that $x^{qn}equiv1pmod{x^n+1}$ for all positive integers $q$.

  • Show that $x^{qn+b}equiv x^bpmod{x^n+1}$ for all positive integers $q,b$.

  • We can write any integer $r$ in the form $r=qn+b$ where $q$ is an integer, and $b$ is the remainder of $r$ when divided modulo $n$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Essentially all the calculations are done here and many other places. I was a bit baffled in not finding this as a question themed on remainders. Only then it dawned on me to search using gcd, where the same calculation is needed. Luckily I had the sense to CW this right away.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:46










  • $begingroup$
    See here for a polynomial variant.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:47
















2












$begingroup$

Hints:




  • Show that for all positive integers $q$ the polynomial $x^{qn}-1$ is divisible by the polynomial $x^n-1$. Observe that we are in characteristic two, so $x^n-1$ and $x^n+1$ mean the same thing.

  • Show that $x^{qn}equiv1pmod{x^n+1}$ for all positive integers $q$.

  • Show that $x^{qn+b}equiv x^bpmod{x^n+1}$ for all positive integers $q,b$.

  • We can write any integer $r$ in the form $r=qn+b$ where $q$ is an integer, and $b$ is the remainder of $r$ when divided modulo $n$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Essentially all the calculations are done here and many other places. I was a bit baffled in not finding this as a question themed on remainders. Only then it dawned on me to search using gcd, where the same calculation is needed. Luckily I had the sense to CW this right away.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:46










  • $begingroup$
    See here for a polynomial variant.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:47














2












2








2





$begingroup$

Hints:




  • Show that for all positive integers $q$ the polynomial $x^{qn}-1$ is divisible by the polynomial $x^n-1$. Observe that we are in characteristic two, so $x^n-1$ and $x^n+1$ mean the same thing.

  • Show that $x^{qn}equiv1pmod{x^n+1}$ for all positive integers $q$.

  • Show that $x^{qn+b}equiv x^bpmod{x^n+1}$ for all positive integers $q,b$.

  • We can write any integer $r$ in the form $r=qn+b$ where $q$ is an integer, and $b$ is the remainder of $r$ when divided modulo $n$.






share|cite|improve this answer











$endgroup$



Hints:




  • Show that for all positive integers $q$ the polynomial $x^{qn}-1$ is divisible by the polynomial $x^n-1$. Observe that we are in characteristic two, so $x^n-1$ and $x^n+1$ mean the same thing.

  • Show that $x^{qn}equiv1pmod{x^n+1}$ for all positive integers $q$.

  • Show that $x^{qn+b}equiv x^bpmod{x^n+1}$ for all positive integers $q,b$.

  • We can write any integer $r$ in the form $r=qn+b$ where $q$ is an integer, and $b$ is the remainder of $r$ when divided modulo $n$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








answered Jan 11 at 6:27


























community wiki





Jyrki Lahtonen













  • $begingroup$
    Essentially all the calculations are done here and many other places. I was a bit baffled in not finding this as a question themed on remainders. Only then it dawned on me to search using gcd, where the same calculation is needed. Luckily I had the sense to CW this right away.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:46










  • $begingroup$
    See here for a polynomial variant.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:47


















  • $begingroup$
    Essentially all the calculations are done here and many other places. I was a bit baffled in not finding this as a question themed on remainders. Only then it dawned on me to search using gcd, where the same calculation is needed. Luckily I had the sense to CW this right away.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:46










  • $begingroup$
    See here for a polynomial variant.
    $endgroup$
    – Jyrki Lahtonen
    Jan 11 at 17:47
















$begingroup$
Essentially all the calculations are done here and many other places. I was a bit baffled in not finding this as a question themed on remainders. Only then it dawned on me to search using gcd, where the same calculation is needed. Luckily I had the sense to CW this right away.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 17:46




$begingroup$
Essentially all the calculations are done here and many other places. I was a bit baffled in not finding this as a question themed on remainders. Only then it dawned on me to search using gcd, where the same calculation is needed. Luckily I had the sense to CW this right away.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 17:46












$begingroup$
See here for a polynomial variant.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 17:47




$begingroup$
See here for a polynomial variant.
$endgroup$
– Jyrki Lahtonen
Jan 11 at 17:47


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3069160%2fhow-to-solve-xr-xn-1-xrn%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Cabo Verde

Gyllenstierna

Albrecht Dürer