Around the property $(X+a)^n = X^n +a pmod{X^r-1,p}$.












3












$begingroup$


There's an unexplained step in a paper (AKS: Agrawal, Kayal, Saxena: PRIMES is in P) I'm reading that I don't understand. (equation (5))



Let $n$ be an integer divisible by a prime $p$.
Additionally, $r<n$ is coprime with $n$.



$a$ is a fixed arbitrary constant in $mathbb{Z}_p$.



Then the following two equalities
$$(X+a)^n = X^n + a pmod{X^r-1, p}$$
$$(X+a)^p = X^p + a pmod{X^r-1, p}$$



imply the third one:
$$(X+a)^{n/p} = X^{n/p} + a pmod{X^r-1, p}$$



I do not expect that the$pmod{X^r-1}$ will be relevant but I included it just in case it is.



Explanation of notation: $a = b pmod{X^r-1, p}$ means $a = b$ in the ring $mathbb{Z}_p[X]/(X^r-1)$.





I don't know how to approach proving this. I expect this is easy as it was not explained in any way in the paper. Thanks for any help.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Appears to be asked already.
    $endgroup$
    – metamorphy
    Dec 27 '18 at 19:22










  • $begingroup$
    Indeed I can't understand their answer so I'm happy you provided yours.
    $endgroup$
    – I want to make games
    Dec 27 '18 at 19:27
















3












$begingroup$


There's an unexplained step in a paper (AKS: Agrawal, Kayal, Saxena: PRIMES is in P) I'm reading that I don't understand. (equation (5))



Let $n$ be an integer divisible by a prime $p$.
Additionally, $r<n$ is coprime with $n$.



$a$ is a fixed arbitrary constant in $mathbb{Z}_p$.



Then the following two equalities
$$(X+a)^n = X^n + a pmod{X^r-1, p}$$
$$(X+a)^p = X^p + a pmod{X^r-1, p}$$



imply the third one:
$$(X+a)^{n/p} = X^{n/p} + a pmod{X^r-1, p}$$



I do not expect that the$pmod{X^r-1}$ will be relevant but I included it just in case it is.



Explanation of notation: $a = b pmod{X^r-1, p}$ means $a = b$ in the ring $mathbb{Z}_p[X]/(X^r-1)$.





I don't know how to approach proving this. I expect this is easy as it was not explained in any way in the paper. Thanks for any help.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Appears to be asked already.
    $endgroup$
    – metamorphy
    Dec 27 '18 at 19:22










  • $begingroup$
    Indeed I can't understand their answer so I'm happy you provided yours.
    $endgroup$
    – I want to make games
    Dec 27 '18 at 19:27














3












3








3


3



$begingroup$


There's an unexplained step in a paper (AKS: Agrawal, Kayal, Saxena: PRIMES is in P) I'm reading that I don't understand. (equation (5))



Let $n$ be an integer divisible by a prime $p$.
Additionally, $r<n$ is coprime with $n$.



$a$ is a fixed arbitrary constant in $mathbb{Z}_p$.



Then the following two equalities
$$(X+a)^n = X^n + a pmod{X^r-1, p}$$
$$(X+a)^p = X^p + a pmod{X^r-1, p}$$



imply the third one:
$$(X+a)^{n/p} = X^{n/p} + a pmod{X^r-1, p}$$



I do not expect that the$pmod{X^r-1}$ will be relevant but I included it just in case it is.



Explanation of notation: $a = b pmod{X^r-1, p}$ means $a = b$ in the ring $mathbb{Z}_p[X]/(X^r-1)$.





I don't know how to approach proving this. I expect this is easy as it was not explained in any way in the paper. Thanks for any help.










share|cite|improve this question











$endgroup$




There's an unexplained step in a paper (AKS: Agrawal, Kayal, Saxena: PRIMES is in P) I'm reading that I don't understand. (equation (5))



Let $n$ be an integer divisible by a prime $p$.
Additionally, $r<n$ is coprime with $n$.



$a$ is a fixed arbitrary constant in $mathbb{Z}_p$.



Then the following two equalities
$$(X+a)^n = X^n + a pmod{X^r-1, p}$$
$$(X+a)^p = X^p + a pmod{X^r-1, p}$$



imply the third one:
$$(X+a)^{n/p} = X^{n/p} + a pmod{X^r-1, p}$$



I do not expect that the$pmod{X^r-1}$ will be relevant but I included it just in case it is.



Explanation of notation: $a = b pmod{X^r-1, p}$ means $a = b$ in the ring $mathbb{Z}_p[X]/(X^r-1)$.





I don't know how to approach proving this. I expect this is easy as it was not explained in any way in the paper. Thanks for any help.







polynomials prime-numbers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 27 '18 at 20:06









Bill Dubuque

212k29195654




212k29195654










asked Dec 27 '18 at 17:26









I want to make gamesI want to make games

866511




866511








  • 1




    $begingroup$
    Appears to be asked already.
    $endgroup$
    – metamorphy
    Dec 27 '18 at 19:22










  • $begingroup$
    Indeed I can't understand their answer so I'm happy you provided yours.
    $endgroup$
    – I want to make games
    Dec 27 '18 at 19:27














  • 1




    $begingroup$
    Appears to be asked already.
    $endgroup$
    – metamorphy
    Dec 27 '18 at 19:22










  • $begingroup$
    Indeed I can't understand their answer so I'm happy you provided yours.
    $endgroup$
    – I want to make games
    Dec 27 '18 at 19:27








1




1




$begingroup$
Appears to be asked already.
$endgroup$
– metamorphy
Dec 27 '18 at 19:22




$begingroup$
Appears to be asked already.
$endgroup$
– metamorphy
Dec 27 '18 at 19:22












$begingroup$
Indeed I can't understand their answer so I'm happy you provided yours.
$endgroup$
– I want to make games
Dec 27 '18 at 19:27




$begingroup$
Indeed I can't understand their answer so I'm happy you provided yours.
$endgroup$
– I want to make games
Dec 27 '18 at 19:27










1 Answer
1






active

oldest

votes


















3












$begingroup$

In the ring $mathbb{Z}_p[X]/(X^r-1)$ we have $A^p=B^pimplies A=B$.



This follows from $(Apm B)^p=A^ppm B^p$ (which holds already in $mathbb{Z}_p[X]$) and $A^p=0implies A=0$ (which can be deduced from $r$ being coprime to $n$ and thus to $p$; for an alternate way to go, if $A=sum_{k=0}^{r-1}a_k X^k$, then $A^p=sum_{k=0}^{r-1}a_k X^{pkbmod r}$, and $kmapsto pkbmod r$ is a bijection).



It remains to put $A=(X+a)^{n/p}$ and $B=X^{n/p}+a$.






share|cite|improve this answer











$endgroup$













    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%2f3054183%2faround-the-property-xan-xn-a-pmodxr-1-p%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









    3












    $begingroup$

    In the ring $mathbb{Z}_p[X]/(X^r-1)$ we have $A^p=B^pimplies A=B$.



    This follows from $(Apm B)^p=A^ppm B^p$ (which holds already in $mathbb{Z}_p[X]$) and $A^p=0implies A=0$ (which can be deduced from $r$ being coprime to $n$ and thus to $p$; for an alternate way to go, if $A=sum_{k=0}^{r-1}a_k X^k$, then $A^p=sum_{k=0}^{r-1}a_k X^{pkbmod r}$, and $kmapsto pkbmod r$ is a bijection).



    It remains to put $A=(X+a)^{n/p}$ and $B=X^{n/p}+a$.






    share|cite|improve this answer











    $endgroup$


















      3












      $begingroup$

      In the ring $mathbb{Z}_p[X]/(X^r-1)$ we have $A^p=B^pimplies A=B$.



      This follows from $(Apm B)^p=A^ppm B^p$ (which holds already in $mathbb{Z}_p[X]$) and $A^p=0implies A=0$ (which can be deduced from $r$ being coprime to $n$ and thus to $p$; for an alternate way to go, if $A=sum_{k=0}^{r-1}a_k X^k$, then $A^p=sum_{k=0}^{r-1}a_k X^{pkbmod r}$, and $kmapsto pkbmod r$ is a bijection).



      It remains to put $A=(X+a)^{n/p}$ and $B=X^{n/p}+a$.






      share|cite|improve this answer











      $endgroup$
















        3












        3








        3





        $begingroup$

        In the ring $mathbb{Z}_p[X]/(X^r-1)$ we have $A^p=B^pimplies A=B$.



        This follows from $(Apm B)^p=A^ppm B^p$ (which holds already in $mathbb{Z}_p[X]$) and $A^p=0implies A=0$ (which can be deduced from $r$ being coprime to $n$ and thus to $p$; for an alternate way to go, if $A=sum_{k=0}^{r-1}a_k X^k$, then $A^p=sum_{k=0}^{r-1}a_k X^{pkbmod r}$, and $kmapsto pkbmod r$ is a bijection).



        It remains to put $A=(X+a)^{n/p}$ and $B=X^{n/p}+a$.






        share|cite|improve this answer











        $endgroup$



        In the ring $mathbb{Z}_p[X]/(X^r-1)$ we have $A^p=B^pimplies A=B$.



        This follows from $(Apm B)^p=A^ppm B^p$ (which holds already in $mathbb{Z}_p[X]$) and $A^p=0implies A=0$ (which can be deduced from $r$ being coprime to $n$ and thus to $p$; for an alternate way to go, if $A=sum_{k=0}^{r-1}a_k X^k$, then $A^p=sum_{k=0}^{r-1}a_k X^{pkbmod r}$, and $kmapsto pkbmod r$ is a bijection).



        It remains to put $A=(X+a)^{n/p}$ and $B=X^{n/p}+a$.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Dec 27 '18 at 20:24

























        answered Dec 27 '18 at 19:15









        metamorphymetamorphy

        3,7021621




        3,7021621






























            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%2f3054183%2faround-the-property-xan-xn-a-pmodxr-1-p%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

            Aardman Animations

            Are they similar matrix

            “minimization” problem in Euclidean space related to orthonormal basis