Find $prod_{i=1}^{p-1} (i^{2st}+1) pmod p$ where $s<t$ are primes congruent to $1$ modulo $4$











up vote
2
down vote

favorite
1












I'd like to ask how to calculate




$$prod_{i=1}^{p-1} (i^{2st}+1) pmod p$$ where $s<t$ are primes congruent to $1$ modulo $4$, for any odd prime $p$.




Here're some partial results. For any $1leq i<p$, $i^{p-1}equiv 1 pmod p$ from Euler's theorem. Let $2st=text{quotient}cdot (p-1)+2x$ where $2x$ is the remainder. Therefore,
$$prod_{i=1}^{p-1} (i^{2st}+1) equiv prod_{i=1}^{p-1}[(i^x)^{2}+1].$$
For primes $p$ congruent to $1$ modulo $4$, there is a quadratic residue $a$ satisfying $a^2+1 equiv 0 pmod p$. Since there's a discrete logarithm $x$ for $i^x=a$, the product is congruent to $0$.



I'm not sure how to extend the results to primes $p$ congruent to $3$ modulo $4$. But for most primes, experimental results show that the product is congruent to $4=prod_{i=1}^{p-1}(i^{2}+1)$. Especially, for primes with $x$ being multiple of $s$ or $t$, the product may deviate from $4$. I'm still finding the pattern.



WLOG, let $x=sy$. I find that for small primes, the products $[i^{2x}+1]$ can be grouped into $frac{t-y}{text{quotient}}$ groups according to their equivalence. I'm not sure whether this is general.










share|cite|improve this question




























    up vote
    2
    down vote

    favorite
    1












    I'd like to ask how to calculate




    $$prod_{i=1}^{p-1} (i^{2st}+1) pmod p$$ where $s<t$ are primes congruent to $1$ modulo $4$, for any odd prime $p$.




    Here're some partial results. For any $1leq i<p$, $i^{p-1}equiv 1 pmod p$ from Euler's theorem. Let $2st=text{quotient}cdot (p-1)+2x$ where $2x$ is the remainder. Therefore,
    $$prod_{i=1}^{p-1} (i^{2st}+1) equiv prod_{i=1}^{p-1}[(i^x)^{2}+1].$$
    For primes $p$ congruent to $1$ modulo $4$, there is a quadratic residue $a$ satisfying $a^2+1 equiv 0 pmod p$. Since there's a discrete logarithm $x$ for $i^x=a$, the product is congruent to $0$.



    I'm not sure how to extend the results to primes $p$ congruent to $3$ modulo $4$. But for most primes, experimental results show that the product is congruent to $4=prod_{i=1}^{p-1}(i^{2}+1)$. Especially, for primes with $x$ being multiple of $s$ or $t$, the product may deviate from $4$. I'm still finding the pattern.



    WLOG, let $x=sy$. I find that for small primes, the products $[i^{2x}+1]$ can be grouped into $frac{t-y}{text{quotient}}$ groups according to their equivalence. I'm not sure whether this is general.










    share|cite|improve this question


























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      I'd like to ask how to calculate




      $$prod_{i=1}^{p-1} (i^{2st}+1) pmod p$$ where $s<t$ are primes congruent to $1$ modulo $4$, for any odd prime $p$.




      Here're some partial results. For any $1leq i<p$, $i^{p-1}equiv 1 pmod p$ from Euler's theorem. Let $2st=text{quotient}cdot (p-1)+2x$ where $2x$ is the remainder. Therefore,
      $$prod_{i=1}^{p-1} (i^{2st}+1) equiv prod_{i=1}^{p-1}[(i^x)^{2}+1].$$
      For primes $p$ congruent to $1$ modulo $4$, there is a quadratic residue $a$ satisfying $a^2+1 equiv 0 pmod p$. Since there's a discrete logarithm $x$ for $i^x=a$, the product is congruent to $0$.



      I'm not sure how to extend the results to primes $p$ congruent to $3$ modulo $4$. But for most primes, experimental results show that the product is congruent to $4=prod_{i=1}^{p-1}(i^{2}+1)$. Especially, for primes with $x$ being multiple of $s$ or $t$, the product may deviate from $4$. I'm still finding the pattern.



      WLOG, let $x=sy$. I find that for small primes, the products $[i^{2x}+1]$ can be grouped into $frac{t-y}{text{quotient}}$ groups according to their equivalence. I'm not sure whether this is general.










      share|cite|improve this question















      I'd like to ask how to calculate




      $$prod_{i=1}^{p-1} (i^{2st}+1) pmod p$$ where $s<t$ are primes congruent to $1$ modulo $4$, for any odd prime $p$.




      Here're some partial results. For any $1leq i<p$, $i^{p-1}equiv 1 pmod p$ from Euler's theorem. Let $2st=text{quotient}cdot (p-1)+2x$ where $2x$ is the remainder. Therefore,
      $$prod_{i=1}^{p-1} (i^{2st}+1) equiv prod_{i=1}^{p-1}[(i^x)^{2}+1].$$
      For primes $p$ congruent to $1$ modulo $4$, there is a quadratic residue $a$ satisfying $a^2+1 equiv 0 pmod p$. Since there's a discrete logarithm $x$ for $i^x=a$, the product is congruent to $0$.



      I'm not sure how to extend the results to primes $p$ congruent to $3$ modulo $4$. But for most primes, experimental results show that the product is congruent to $4=prod_{i=1}^{p-1}(i^{2}+1)$. Especially, for primes with $x$ being multiple of $s$ or $t$, the product may deviate from $4$. I'm still finding the pattern.



      WLOG, let $x=sy$. I find that for small primes, the products $[i^{2x}+1]$ can be grouped into $frac{t-y}{text{quotient}}$ groups according to their equivalence. I'm not sure whether this is general.







      number-theory modular-arithmetic






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 15 at 5:45









      Tianlalu

      2,451632




      2,451632










      asked Nov 15 at 4:48









      Hang Wu

      343110




      343110



























          active

          oldest

          votes











          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',
          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%2f2999224%2ffind-prod-i-1p-1-i2st1-pmod-p-where-st-are-primes-congruent-to%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2999224%2ffind-prod-i-1p-1-i2st1-pmod-p-where-st-are-primes-congruent-to%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

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei