Relation between the numbers of units, square roots of unity and divisors for the rings...












1












$begingroup$


For the non-prime numbers $n$ up to $20$ I listed the number of units of $mathbb{Z}/nmathbb{Z}$, the number of square roots of unity of $mathbb{Z}/nmathbb{Z}$ and the number of divisors of $n$.



begin{array}{c|c|c}
# & text{units} & text{square roots of unity} & text{divisors} \ hline
4 & 2 & 2&3\ hline
6 & 2 & 2&4\ hline
8 & 4 &4 &4\ hline
9 & 6 & 2&3\ hline
10 & 4 & 2&4\ hline
12 & 4 & 4&6\ hline
14 & 6 & 2&4\ hline
15 & 8 & 4&4\ hline
16 & 8 & 4&5\ hline
18 & 6 & 2&6\ hline
20 & 8 & 4&6\ hline
end{array}



The number of units is just $varphi(n)$ (Euler's totient function), i.e. the number of numbers $m < n$ that are relatively prime to $n$.



But I don't see the correlation pattern between the numbers: How do the numbers of units, square roots of unity and divisors relate for general $n$?



Or more generally: Are there expressions for the number of square roots of unity and for the number of divisors (like for the number of units = $varphi(n)$)?










share|cite|improve this question











$endgroup$












  • $begingroup$
    What do you mean by a "root of unity"? Every unit is a root of unity.
    $endgroup$
    – Slade
    Dec 14 '18 at 12:18










  • $begingroup$
    I think your counts of roots of unity are not consistent.
    $endgroup$
    – Slade
    Dec 14 '18 at 12:22










  • $begingroup$
    I must have understood something wrong: in my understanding $3$ is a unit of $mathbb{Z}/20mathbb{Z}$ because $3cdot 7 equiv 1 pmod {20}$, but it's not a root of unity because $3cdot 3 not equiv 1 pmod {20}$. The units of $mathbb{Z}/20mathbb{Z}$ are $1,3,7,9,11,13,17,19$ while the roots of unity are $1,9,11,19$. So every root of unity is a unit but not vice versa. Who of us is wrong?
    $endgroup$
    – Hans Stricker
    Dec 14 '18 at 12:34












  • $begingroup$
    Ah, I see: I forgot to mention that I meant square roots of unity. I edited the question.
    $endgroup$
    – Hans Stricker
    Dec 14 '18 at 13:02










  • $begingroup$
    See my updated answer. I believe it answers all of your questions.
    $endgroup$
    – Slade
    Dec 14 '18 at 14:05
















1












$begingroup$


For the non-prime numbers $n$ up to $20$ I listed the number of units of $mathbb{Z}/nmathbb{Z}$, the number of square roots of unity of $mathbb{Z}/nmathbb{Z}$ and the number of divisors of $n$.



begin{array}{c|c|c}
# & text{units} & text{square roots of unity} & text{divisors} \ hline
4 & 2 & 2&3\ hline
6 & 2 & 2&4\ hline
8 & 4 &4 &4\ hline
9 & 6 & 2&3\ hline
10 & 4 & 2&4\ hline
12 & 4 & 4&6\ hline
14 & 6 & 2&4\ hline
15 & 8 & 4&4\ hline
16 & 8 & 4&5\ hline
18 & 6 & 2&6\ hline
20 & 8 & 4&6\ hline
end{array}



The number of units is just $varphi(n)$ (Euler's totient function), i.e. the number of numbers $m < n$ that are relatively prime to $n$.



But I don't see the correlation pattern between the numbers: How do the numbers of units, square roots of unity and divisors relate for general $n$?



Or more generally: Are there expressions for the number of square roots of unity and for the number of divisors (like for the number of units = $varphi(n)$)?










share|cite|improve this question











$endgroup$












  • $begingroup$
    What do you mean by a "root of unity"? Every unit is a root of unity.
    $endgroup$
    – Slade
    Dec 14 '18 at 12:18










  • $begingroup$
    I think your counts of roots of unity are not consistent.
    $endgroup$
    – Slade
    Dec 14 '18 at 12:22










  • $begingroup$
    I must have understood something wrong: in my understanding $3$ is a unit of $mathbb{Z}/20mathbb{Z}$ because $3cdot 7 equiv 1 pmod {20}$, but it's not a root of unity because $3cdot 3 not equiv 1 pmod {20}$. The units of $mathbb{Z}/20mathbb{Z}$ are $1,3,7,9,11,13,17,19$ while the roots of unity are $1,9,11,19$. So every root of unity is a unit but not vice versa. Who of us is wrong?
    $endgroup$
    – Hans Stricker
    Dec 14 '18 at 12:34












  • $begingroup$
    Ah, I see: I forgot to mention that I meant square roots of unity. I edited the question.
    $endgroup$
    – Hans Stricker
    Dec 14 '18 at 13:02










  • $begingroup$
    See my updated answer. I believe it answers all of your questions.
    $endgroup$
    – Slade
    Dec 14 '18 at 14:05














1












1








1





$begingroup$


For the non-prime numbers $n$ up to $20$ I listed the number of units of $mathbb{Z}/nmathbb{Z}$, the number of square roots of unity of $mathbb{Z}/nmathbb{Z}$ and the number of divisors of $n$.



begin{array}{c|c|c}
# & text{units} & text{square roots of unity} & text{divisors} \ hline
4 & 2 & 2&3\ hline
6 & 2 & 2&4\ hline
8 & 4 &4 &4\ hline
9 & 6 & 2&3\ hline
10 & 4 & 2&4\ hline
12 & 4 & 4&6\ hline
14 & 6 & 2&4\ hline
15 & 8 & 4&4\ hline
16 & 8 & 4&5\ hline
18 & 6 & 2&6\ hline
20 & 8 & 4&6\ hline
end{array}



The number of units is just $varphi(n)$ (Euler's totient function), i.e. the number of numbers $m < n$ that are relatively prime to $n$.



But I don't see the correlation pattern between the numbers: How do the numbers of units, square roots of unity and divisors relate for general $n$?



Or more generally: Are there expressions for the number of square roots of unity and for the number of divisors (like for the number of units = $varphi(n)$)?










share|cite|improve this question











$endgroup$




For the non-prime numbers $n$ up to $20$ I listed the number of units of $mathbb{Z}/nmathbb{Z}$, the number of square roots of unity of $mathbb{Z}/nmathbb{Z}$ and the number of divisors of $n$.



begin{array}{c|c|c}
# & text{units} & text{square roots of unity} & text{divisors} \ hline
4 & 2 & 2&3\ hline
6 & 2 & 2&4\ hline
8 & 4 &4 &4\ hline
9 & 6 & 2&3\ hline
10 & 4 & 2&4\ hline
12 & 4 & 4&6\ hline
14 & 6 & 2&4\ hline
15 & 8 & 4&4\ hline
16 & 8 & 4&5\ hline
18 & 6 & 2&6\ hline
20 & 8 & 4&6\ hline
end{array}



The number of units is just $varphi(n)$ (Euler's totient function), i.e. the number of numbers $m < n$ that are relatively prime to $n$.



But I don't see the correlation pattern between the numbers: How do the numbers of units, square roots of unity and divisors relate for general $n$?



Or more generally: Are there expressions for the number of square roots of unity and for the number of divisors (like for the number of units = $varphi(n)$)?







elementary-number-theory roots-of-unity






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 14 '18 at 13:01







Hans Stricker

















asked Dec 14 '18 at 10:59









Hans StrickerHans Stricker

6,46243993




6,46243993












  • $begingroup$
    What do you mean by a "root of unity"? Every unit is a root of unity.
    $endgroup$
    – Slade
    Dec 14 '18 at 12:18










  • $begingroup$
    I think your counts of roots of unity are not consistent.
    $endgroup$
    – Slade
    Dec 14 '18 at 12:22










  • $begingroup$
    I must have understood something wrong: in my understanding $3$ is a unit of $mathbb{Z}/20mathbb{Z}$ because $3cdot 7 equiv 1 pmod {20}$, but it's not a root of unity because $3cdot 3 not equiv 1 pmod {20}$. The units of $mathbb{Z}/20mathbb{Z}$ are $1,3,7,9,11,13,17,19$ while the roots of unity are $1,9,11,19$. So every root of unity is a unit but not vice versa. Who of us is wrong?
    $endgroup$
    – Hans Stricker
    Dec 14 '18 at 12:34












  • $begingroup$
    Ah, I see: I forgot to mention that I meant square roots of unity. I edited the question.
    $endgroup$
    – Hans Stricker
    Dec 14 '18 at 13:02










  • $begingroup$
    See my updated answer. I believe it answers all of your questions.
    $endgroup$
    – Slade
    Dec 14 '18 at 14:05


















  • $begingroup$
    What do you mean by a "root of unity"? Every unit is a root of unity.
    $endgroup$
    – Slade
    Dec 14 '18 at 12:18










  • $begingroup$
    I think your counts of roots of unity are not consistent.
    $endgroup$
    – Slade
    Dec 14 '18 at 12:22










  • $begingroup$
    I must have understood something wrong: in my understanding $3$ is a unit of $mathbb{Z}/20mathbb{Z}$ because $3cdot 7 equiv 1 pmod {20}$, but it's not a root of unity because $3cdot 3 not equiv 1 pmod {20}$. The units of $mathbb{Z}/20mathbb{Z}$ are $1,3,7,9,11,13,17,19$ while the roots of unity are $1,9,11,19$. So every root of unity is a unit but not vice versa. Who of us is wrong?
    $endgroup$
    – Hans Stricker
    Dec 14 '18 at 12:34












  • $begingroup$
    Ah, I see: I forgot to mention that I meant square roots of unity. I edited the question.
    $endgroup$
    – Hans Stricker
    Dec 14 '18 at 13:02










  • $begingroup$
    See my updated answer. I believe it answers all of your questions.
    $endgroup$
    – Slade
    Dec 14 '18 at 14:05
















$begingroup$
What do you mean by a "root of unity"? Every unit is a root of unity.
$endgroup$
– Slade
Dec 14 '18 at 12:18




$begingroup$
What do you mean by a "root of unity"? Every unit is a root of unity.
$endgroup$
– Slade
Dec 14 '18 at 12:18












$begingroup$
I think your counts of roots of unity are not consistent.
$endgroup$
– Slade
Dec 14 '18 at 12:22




$begingroup$
I think your counts of roots of unity are not consistent.
$endgroup$
– Slade
Dec 14 '18 at 12:22












$begingroup$
I must have understood something wrong: in my understanding $3$ is a unit of $mathbb{Z}/20mathbb{Z}$ because $3cdot 7 equiv 1 pmod {20}$, but it's not a root of unity because $3cdot 3 not equiv 1 pmod {20}$. The units of $mathbb{Z}/20mathbb{Z}$ are $1,3,7,9,11,13,17,19$ while the roots of unity are $1,9,11,19$. So every root of unity is a unit but not vice versa. Who of us is wrong?
$endgroup$
– Hans Stricker
Dec 14 '18 at 12:34






$begingroup$
I must have understood something wrong: in my understanding $3$ is a unit of $mathbb{Z}/20mathbb{Z}$ because $3cdot 7 equiv 1 pmod {20}$, but it's not a root of unity because $3cdot 3 not equiv 1 pmod {20}$. The units of $mathbb{Z}/20mathbb{Z}$ are $1,3,7,9,11,13,17,19$ while the roots of unity are $1,9,11,19$. So every root of unity is a unit but not vice versa. Who of us is wrong?
$endgroup$
– Hans Stricker
Dec 14 '18 at 12:34














$begingroup$
Ah, I see: I forgot to mention that I meant square roots of unity. I edited the question.
$endgroup$
– Hans Stricker
Dec 14 '18 at 13:02




$begingroup$
Ah, I see: I forgot to mention that I meant square roots of unity. I edited the question.
$endgroup$
– Hans Stricker
Dec 14 '18 at 13:02












$begingroup$
See my updated answer. I believe it answers all of your questions.
$endgroup$
– Slade
Dec 14 '18 at 14:05




$begingroup$
See my updated answer. I believe it answers all of your questions.
$endgroup$
– Slade
Dec 14 '18 at 14:05










3 Answers
3






active

oldest

votes


















1












$begingroup$

The number of divisors of $n$ is usually considered to be a primitive function in number theory, so there is most likely not a formula in terms of something simpler. However, if $n$ has prime factorization $prod_i p_i^{a_i}$, we can write $d(n) = prod_i (a_i + 1)$.



The total number of roots of unity in $mathbb{Z}/nmathbb{Z}$ is just $varphi(n)$, since every unit is a root of unity of some order.



If $n$ is $2$, $4$, a power of an odd prime, or twice a power of an odd prime, then the units of $mathbb{Z}/nmathbb{Z}$ are a cyclic group of order $varphi(n)$, so the number of generators is $varphi(varphi(n))$, which counts the number of primitive roots of unity. For all other $n$, the group of units is not cyclic and there are no primitive roots of unity.



EDIT: The question has changed to ask about square roots of unity.



In general, the structure of the group of units is known, as a decomposition into cyclic groups. See, for example, Wikipedia. From this, you can see how many square roots of unity there are.



I'll summarize the result. Write $n=2^a m$, where $m$ is an odd integer. Then, the number of square roots of unity in $mathbb{Z}/nmathbb{Z}$ is $2^{k+l}$, where $k$ is the number of prime factors of $m$, and $l$ is $0$ if $aleq 1$, $1$ if $a=2$, and $2$ if $ageq 3$.






share|cite|improve this answer











$endgroup$





















    0












    $begingroup$

    In ${Bbb Z}_n$, $ngeq 2$, the number of units plus the number of zero divisors is $n-1$, where $0$ is not considered as a zero divisor.
    The reason is that for each $0ne ain{Bbb Z}_n$, if $gcd(a,n)=1$, then $a$ is a unit; otherwise, $a$ is a zero divisor.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      These functions are quite complicated due to being combinatorial in nature. Part of the Wikipedia page



      https://en.m.wikipedia.org/wiki/Root_of_unity_modulo_n



      on roots of unity modulo $n$ which is a good place to start
      is reproduced below.



      enter image description here






      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%2f3039217%2frelation-between-the-numbers-of-units-square-roots-of-unity-and-divisors-for-th%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1












        $begingroup$

        The number of divisors of $n$ is usually considered to be a primitive function in number theory, so there is most likely not a formula in terms of something simpler. However, if $n$ has prime factorization $prod_i p_i^{a_i}$, we can write $d(n) = prod_i (a_i + 1)$.



        The total number of roots of unity in $mathbb{Z}/nmathbb{Z}$ is just $varphi(n)$, since every unit is a root of unity of some order.



        If $n$ is $2$, $4$, a power of an odd prime, or twice a power of an odd prime, then the units of $mathbb{Z}/nmathbb{Z}$ are a cyclic group of order $varphi(n)$, so the number of generators is $varphi(varphi(n))$, which counts the number of primitive roots of unity. For all other $n$, the group of units is not cyclic and there are no primitive roots of unity.



        EDIT: The question has changed to ask about square roots of unity.



        In general, the structure of the group of units is known, as a decomposition into cyclic groups. See, for example, Wikipedia. From this, you can see how many square roots of unity there are.



        I'll summarize the result. Write $n=2^a m$, where $m$ is an odd integer. Then, the number of square roots of unity in $mathbb{Z}/nmathbb{Z}$ is $2^{k+l}$, where $k$ is the number of prime factors of $m$, and $l$ is $0$ if $aleq 1$, $1$ if $a=2$, and $2$ if $ageq 3$.






        share|cite|improve this answer











        $endgroup$


















          1












          $begingroup$

          The number of divisors of $n$ is usually considered to be a primitive function in number theory, so there is most likely not a formula in terms of something simpler. However, if $n$ has prime factorization $prod_i p_i^{a_i}$, we can write $d(n) = prod_i (a_i + 1)$.



          The total number of roots of unity in $mathbb{Z}/nmathbb{Z}$ is just $varphi(n)$, since every unit is a root of unity of some order.



          If $n$ is $2$, $4$, a power of an odd prime, or twice a power of an odd prime, then the units of $mathbb{Z}/nmathbb{Z}$ are a cyclic group of order $varphi(n)$, so the number of generators is $varphi(varphi(n))$, which counts the number of primitive roots of unity. For all other $n$, the group of units is not cyclic and there are no primitive roots of unity.



          EDIT: The question has changed to ask about square roots of unity.



          In general, the structure of the group of units is known, as a decomposition into cyclic groups. See, for example, Wikipedia. From this, you can see how many square roots of unity there are.



          I'll summarize the result. Write $n=2^a m$, where $m$ is an odd integer. Then, the number of square roots of unity in $mathbb{Z}/nmathbb{Z}$ is $2^{k+l}$, where $k$ is the number of prime factors of $m$, and $l$ is $0$ if $aleq 1$, $1$ if $a=2$, and $2$ if $ageq 3$.






          share|cite|improve this answer











          $endgroup$
















            1












            1








            1





            $begingroup$

            The number of divisors of $n$ is usually considered to be a primitive function in number theory, so there is most likely not a formula in terms of something simpler. However, if $n$ has prime factorization $prod_i p_i^{a_i}$, we can write $d(n) = prod_i (a_i + 1)$.



            The total number of roots of unity in $mathbb{Z}/nmathbb{Z}$ is just $varphi(n)$, since every unit is a root of unity of some order.



            If $n$ is $2$, $4$, a power of an odd prime, or twice a power of an odd prime, then the units of $mathbb{Z}/nmathbb{Z}$ are a cyclic group of order $varphi(n)$, so the number of generators is $varphi(varphi(n))$, which counts the number of primitive roots of unity. For all other $n$, the group of units is not cyclic and there are no primitive roots of unity.



            EDIT: The question has changed to ask about square roots of unity.



            In general, the structure of the group of units is known, as a decomposition into cyclic groups. See, for example, Wikipedia. From this, you can see how many square roots of unity there are.



            I'll summarize the result. Write $n=2^a m$, where $m$ is an odd integer. Then, the number of square roots of unity in $mathbb{Z}/nmathbb{Z}$ is $2^{k+l}$, where $k$ is the number of prime factors of $m$, and $l$ is $0$ if $aleq 1$, $1$ if $a=2$, and $2$ if $ageq 3$.






            share|cite|improve this answer











            $endgroup$



            The number of divisors of $n$ is usually considered to be a primitive function in number theory, so there is most likely not a formula in terms of something simpler. However, if $n$ has prime factorization $prod_i p_i^{a_i}$, we can write $d(n) = prod_i (a_i + 1)$.



            The total number of roots of unity in $mathbb{Z}/nmathbb{Z}$ is just $varphi(n)$, since every unit is a root of unity of some order.



            If $n$ is $2$, $4$, a power of an odd prime, or twice a power of an odd prime, then the units of $mathbb{Z}/nmathbb{Z}$ are a cyclic group of order $varphi(n)$, so the number of generators is $varphi(varphi(n))$, which counts the number of primitive roots of unity. For all other $n$, the group of units is not cyclic and there are no primitive roots of unity.



            EDIT: The question has changed to ask about square roots of unity.



            In general, the structure of the group of units is known, as a decomposition into cyclic groups. See, for example, Wikipedia. From this, you can see how many square roots of unity there are.



            I'll summarize the result. Write $n=2^a m$, where $m$ is an odd integer. Then, the number of square roots of unity in $mathbb{Z}/nmathbb{Z}$ is $2^{k+l}$, where $k$ is the number of prime factors of $m$, and $l$ is $0$ if $aleq 1$, $1$ if $a=2$, and $2$ if $ageq 3$.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Dec 14 '18 at 14:51

























            answered Dec 14 '18 at 12:16









            SladeSlade

            25.2k12665




            25.2k12665























                0












                $begingroup$

                In ${Bbb Z}_n$, $ngeq 2$, the number of units plus the number of zero divisors is $n-1$, where $0$ is not considered as a zero divisor.
                The reason is that for each $0ne ain{Bbb Z}_n$, if $gcd(a,n)=1$, then $a$ is a unit; otherwise, $a$ is a zero divisor.






                share|cite|improve this answer









                $endgroup$


















                  0












                  $begingroup$

                  In ${Bbb Z}_n$, $ngeq 2$, the number of units plus the number of zero divisors is $n-1$, where $0$ is not considered as a zero divisor.
                  The reason is that for each $0ne ain{Bbb Z}_n$, if $gcd(a,n)=1$, then $a$ is a unit; otherwise, $a$ is a zero divisor.






                  share|cite|improve this answer









                  $endgroup$
















                    0












                    0








                    0





                    $begingroup$

                    In ${Bbb Z}_n$, $ngeq 2$, the number of units plus the number of zero divisors is $n-1$, where $0$ is not considered as a zero divisor.
                    The reason is that for each $0ne ain{Bbb Z}_n$, if $gcd(a,n)=1$, then $a$ is a unit; otherwise, $a$ is a zero divisor.






                    share|cite|improve this answer









                    $endgroup$



                    In ${Bbb Z}_n$, $ngeq 2$, the number of units plus the number of zero divisors is $n-1$, where $0$ is not considered as a zero divisor.
                    The reason is that for each $0ne ain{Bbb Z}_n$, if $gcd(a,n)=1$, then $a$ is a unit; otherwise, $a$ is a zero divisor.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Dec 14 '18 at 11:26









                    WuestenfuxWuestenfux

                    4,7941513




                    4,7941513























                        0












                        $begingroup$

                        These functions are quite complicated due to being combinatorial in nature. Part of the Wikipedia page



                        https://en.m.wikipedia.org/wiki/Root_of_unity_modulo_n



                        on roots of unity modulo $n$ which is a good place to start
                        is reproduced below.



                        enter image description here






                        share|cite|improve this answer









                        $endgroup$


















                          0












                          $begingroup$

                          These functions are quite complicated due to being combinatorial in nature. Part of the Wikipedia page



                          https://en.m.wikipedia.org/wiki/Root_of_unity_modulo_n



                          on roots of unity modulo $n$ which is a good place to start
                          is reproduced below.



                          enter image description here






                          share|cite|improve this answer









                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            These functions are quite complicated due to being combinatorial in nature. Part of the Wikipedia page



                            https://en.m.wikipedia.org/wiki/Root_of_unity_modulo_n



                            on roots of unity modulo $n$ which is a good place to start
                            is reproduced below.



                            enter image description here






                            share|cite|improve this answer









                            $endgroup$



                            These functions are quite complicated due to being combinatorial in nature. Part of the Wikipedia page



                            https://en.m.wikipedia.org/wiki/Root_of_unity_modulo_n



                            on roots of unity modulo $n$ which is a good place to start
                            is reproduced below.



                            enter image description here







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Dec 14 '18 at 11:37









                            kodlukodlu

                            3,390716




                            3,390716






























                                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%2f3039217%2frelation-between-the-numbers-of-units-square-roots-of-unity-and-divisors-for-th%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

                                Bundesstraße 106

                                Verónica Boquete

                                Ida-Boy-Ed-Garten