Euler's totient $phi$ function as a product of primesInfinite Prime Proof Using Euler's TotientEuler's totient function and complex numbersEuler's totient function for large numbersCalculating Euler's totient function values.Connection between Euler's totient function and Fibonacci numbersHow fast does Euler's totient function drop?Euler's Phi function works for non dividing primes as well, why?Let $phi$ be Euler's totient function, find all $n$ such that $phi(n) = frac13 n$.Euler's totient function applied to higher power triplesExpression for the inverse of Euler's totient function $phi^-1$

Do Paladin Auras of Differing Oaths Stack?

What will happen if my luggage gets delayed?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

When to use a QR code on a business card?

Is "cogitate" used appropriately in "I cogitate that success relies on hard work"?

Either of .... (Plural/Singular)

Rationale to prefer local variables over instance variables?

Can the Witch Sight warlock invocation see through the Mirror Image spell?

PTIJ: Sport in the Torah

Why does Central Limit Theorem break down in my simulation?

What is Tony Stark injecting into himself in Iron Man 3?

What would be the most expensive material to an intergalactic society?

Why do we say 'Pairwise Disjoint', rather than 'Disjoint'?

What to do if my university does not offer any advanced math courses?

How can I portion out frozen cookie dough?

Is it a Cyclops number? "Nobody" knows!

How exactly does an Ethernet collision happen in the cable, since nodes use different circuits for Tx and Rx?

When an outsider describes family relationships, which point of view are they using?

Yet another question on sums of the reciprocals of the primes

How to copy the rest of lines of a file to another file

Movie: boy escapes the real world and goes to a fantasy world with big furry trolls

Is this Paypal Github SDK reference really a dangerous site?

Giving a career talk in my old university, how prominently should I tell students my salary?

What does the Digital Threat scope actually do?



Euler's totient $phi$ function as a product of primes


Infinite Prime Proof Using Euler's TotientEuler's totient function and complex numbersEuler's totient function for large numbersCalculating Euler's totient function values.Connection between Euler's totient function and Fibonacci numbersHow fast does Euler's totient function drop?Euler's Phi function works for non dividing primes as well, why?Let $phi$ be Euler's totient function, find all $n$ such that $phi(n) = frac13 n$.Euler's totient function applied to higher power triplesExpression for the inverse of Euler's totient function $phi^-1$













2












$begingroup$


Many web pages say that Euler's totient function $phi(n)$ can be given as



$$phi(n)=n prod_p biggl(1- frac1p biggr)$$



But $phi(1)=1$, and no primes divide $1$. Surely this gives



$$phi(1)=prod_p biggl(1- frac1p biggr)=0n=0$$



Is $phi(1)$ a special case, or am I missing something?










share|cite|improve this question









$endgroup$







  • 4




    $begingroup$
    Empty product is considered $1$
    $endgroup$
    – J. W. Tanner
    yesterday










  • $begingroup$
    That'll be the thing I was missing, then! Should have checked the definition for product series... Thanks.
    $endgroup$
    – Richard Burke-Ward
    yesterday






  • 1




    $begingroup$
    It makes a bit of sense, really. If you have a sum of numbers, and you subtract them all away, one by one, you're down to zero when the last one is gone. If you do the same with a product, dividing the product until everything is divided out, then you've finally landed at 1.
    $endgroup$
    – G Tony Jacobs
    yesterday






  • 1




    $begingroup$
    Actually, there is no harm to assume $n>1$ in the formula and consider $phi(1)=1$ separately.
    $endgroup$
    – Dietrich Burde
    yesterday
















2












$begingroup$


Many web pages say that Euler's totient function $phi(n)$ can be given as



$$phi(n)=n prod_p biggl(1- frac1p biggr)$$



But $phi(1)=1$, and no primes divide $1$. Surely this gives



$$phi(1)=prod_p biggl(1- frac1p biggr)=0n=0$$



Is $phi(1)$ a special case, or am I missing something?










share|cite|improve this question









$endgroup$







  • 4




    $begingroup$
    Empty product is considered $1$
    $endgroup$
    – J. W. Tanner
    yesterday










  • $begingroup$
    That'll be the thing I was missing, then! Should have checked the definition for product series... Thanks.
    $endgroup$
    – Richard Burke-Ward
    yesterday






  • 1




    $begingroup$
    It makes a bit of sense, really. If you have a sum of numbers, and you subtract them all away, one by one, you're down to zero when the last one is gone. If you do the same with a product, dividing the product until everything is divided out, then you've finally landed at 1.
    $endgroup$
    – G Tony Jacobs
    yesterday






  • 1




    $begingroup$
    Actually, there is no harm to assume $n>1$ in the formula and consider $phi(1)=1$ separately.
    $endgroup$
    – Dietrich Burde
    yesterday














2












2








2


1



$begingroup$


Many web pages say that Euler's totient function $phi(n)$ can be given as



$$phi(n)=n prod_p biggl(1- frac1p biggr)$$



But $phi(1)=1$, and no primes divide $1$. Surely this gives



$$phi(1)=prod_p biggl(1- frac1p biggr)=0n=0$$



Is $phi(1)$ a special case, or am I missing something?










share|cite|improve this question









$endgroup$




Many web pages say that Euler's totient function $phi(n)$ can be given as



$$phi(n)=n prod_p biggl(1- frac1p biggr)$$



But $phi(1)=1$, and no primes divide $1$. Surely this gives



$$phi(1)=prod_p biggl(1- frac1p biggr)=0n=0$$



Is $phi(1)$ a special case, or am I missing something?







prime-numbers totient-function






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked yesterday









Richard Burke-WardRichard Burke-Ward

35318




35318







  • 4




    $begingroup$
    Empty product is considered $1$
    $endgroup$
    – J. W. Tanner
    yesterday










  • $begingroup$
    That'll be the thing I was missing, then! Should have checked the definition for product series... Thanks.
    $endgroup$
    – Richard Burke-Ward
    yesterday






  • 1




    $begingroup$
    It makes a bit of sense, really. If you have a sum of numbers, and you subtract them all away, one by one, you're down to zero when the last one is gone. If you do the same with a product, dividing the product until everything is divided out, then you've finally landed at 1.
    $endgroup$
    – G Tony Jacobs
    yesterday






  • 1




    $begingroup$
    Actually, there is no harm to assume $n>1$ in the formula and consider $phi(1)=1$ separately.
    $endgroup$
    – Dietrich Burde
    yesterday













  • 4




    $begingroup$
    Empty product is considered $1$
    $endgroup$
    – J. W. Tanner
    yesterday










  • $begingroup$
    That'll be the thing I was missing, then! Should have checked the definition for product series... Thanks.
    $endgroup$
    – Richard Burke-Ward
    yesterday






  • 1




    $begingroup$
    It makes a bit of sense, really. If you have a sum of numbers, and you subtract them all away, one by one, you're down to zero when the last one is gone. If you do the same with a product, dividing the product until everything is divided out, then you've finally landed at 1.
    $endgroup$
    – G Tony Jacobs
    yesterday






  • 1




    $begingroup$
    Actually, there is no harm to assume $n>1$ in the formula and consider $phi(1)=1$ separately.
    $endgroup$
    – Dietrich Burde
    yesterday








4




4




$begingroup$
Empty product is considered $1$
$endgroup$
– J. W. Tanner
yesterday




$begingroup$
Empty product is considered $1$
$endgroup$
– J. W. Tanner
yesterday












$begingroup$
That'll be the thing I was missing, then! Should have checked the definition for product series... Thanks.
$endgroup$
– Richard Burke-Ward
yesterday




$begingroup$
That'll be the thing I was missing, then! Should have checked the definition for product series... Thanks.
$endgroup$
– Richard Burke-Ward
yesterday




1




1




$begingroup$
It makes a bit of sense, really. If you have a sum of numbers, and you subtract them all away, one by one, you're down to zero when the last one is gone. If you do the same with a product, dividing the product until everything is divided out, then you've finally landed at 1.
$endgroup$
– G Tony Jacobs
yesterday




$begingroup$
It makes a bit of sense, really. If you have a sum of numbers, and you subtract them all away, one by one, you're down to zero when the last one is gone. If you do the same with a product, dividing the product until everything is divided out, then you've finally landed at 1.
$endgroup$
– G Tony Jacobs
yesterday




1




1




$begingroup$
Actually, there is no harm to assume $n>1$ in the formula and consider $phi(1)=1$ separately.
$endgroup$
– Dietrich Burde
yesterday





$begingroup$
Actually, there is no harm to assume $n>1$ in the formula and consider $phi(1)=1$ separately.
$endgroup$
– Dietrich Burde
yesterday











2 Answers
2






active

oldest

votes


















3












$begingroup$

There's no problem here.



$phi(1)=1$ even according to the product definition;



there are no primes dividing $1$, so it's an empty product, which is $1$.






share|cite|improve this answer









$endgroup$




















    1












    $begingroup$

    What is the sum of zero numbers? 0, of course. Most people have no trouble conceptually with this. Obviously $x + 0 = x$. So 0 is the identity element of addition.



    Now, what is the product of zero numbers? This one I need to go through the logic to convince myself of the right answer, I think most people do. The identity element is not 0 because $x times 0 = 0$, not $x$. But if we try 1 instead, then bingo: $x times 1 = x$.



    Therefore, since no primes divide 1, and if $phi(n)$ really is a product of numbers of the form $$fracp - 1p$$ with $p$ prime, it follows that $phi(1) = 1$.




    There are good reasons why 1 is not a prime number, and there are also stupid reasons. With Euler's totient function, we get a hint of one of the good reasons why 1 is not a prime number: because in many fundamental ways, it behaves fundamentally differently from the prime numbers. Clearly $$1 - frac11 = 1 - 1 = 0,$$ so then $phi(n)$ would be 0 for all $n$. Then 1 being prime would require a special case for Euler's totient function to be of any use.



    Lastly, I wanted to mention $phi(0) = 0$. Since 0 is divisible by all primes, even limiting to the positive primes, we'd have an infinite product on our hands. But then the whole thing is multiplied by 0, so there is no need to even begin computing an infinite product...






    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%2f3140411%2feulers-totient-phi-function-as-a-product-of-primes%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3












      $begingroup$

      There's no problem here.



      $phi(1)=1$ even according to the product definition;



      there are no primes dividing $1$, so it's an empty product, which is $1$.






      share|cite|improve this answer









      $endgroup$

















        3












        $begingroup$

        There's no problem here.



        $phi(1)=1$ even according to the product definition;



        there are no primes dividing $1$, so it's an empty product, which is $1$.






        share|cite|improve this answer









        $endgroup$















          3












          3








          3





          $begingroup$

          There's no problem here.



          $phi(1)=1$ even according to the product definition;



          there are no primes dividing $1$, so it's an empty product, which is $1$.






          share|cite|improve this answer









          $endgroup$



          There's no problem here.



          $phi(1)=1$ even according to the product definition;



          there are no primes dividing $1$, so it's an empty product, which is $1$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered yesterday









          J. W. TannerJ. W. Tanner

          2,9441217




          2,9441217





















              1












              $begingroup$

              What is the sum of zero numbers? 0, of course. Most people have no trouble conceptually with this. Obviously $x + 0 = x$. So 0 is the identity element of addition.



              Now, what is the product of zero numbers? This one I need to go through the logic to convince myself of the right answer, I think most people do. The identity element is not 0 because $x times 0 = 0$, not $x$. But if we try 1 instead, then bingo: $x times 1 = x$.



              Therefore, since no primes divide 1, and if $phi(n)$ really is a product of numbers of the form $$fracp - 1p$$ with $p$ prime, it follows that $phi(1) = 1$.




              There are good reasons why 1 is not a prime number, and there are also stupid reasons. With Euler's totient function, we get a hint of one of the good reasons why 1 is not a prime number: because in many fundamental ways, it behaves fundamentally differently from the prime numbers. Clearly $$1 - frac11 = 1 - 1 = 0,$$ so then $phi(n)$ would be 0 for all $n$. Then 1 being prime would require a special case for Euler's totient function to be of any use.



              Lastly, I wanted to mention $phi(0) = 0$. Since 0 is divisible by all primes, even limiting to the positive primes, we'd have an infinite product on our hands. But then the whole thing is multiplied by 0, so there is no need to even begin computing an infinite product...






              share|cite|improve this answer









              $endgroup$

















                1












                $begingroup$

                What is the sum of zero numbers? 0, of course. Most people have no trouble conceptually with this. Obviously $x + 0 = x$. So 0 is the identity element of addition.



                Now, what is the product of zero numbers? This one I need to go through the logic to convince myself of the right answer, I think most people do. The identity element is not 0 because $x times 0 = 0$, not $x$. But if we try 1 instead, then bingo: $x times 1 = x$.



                Therefore, since no primes divide 1, and if $phi(n)$ really is a product of numbers of the form $$fracp - 1p$$ with $p$ prime, it follows that $phi(1) = 1$.




                There are good reasons why 1 is not a prime number, and there are also stupid reasons. With Euler's totient function, we get a hint of one of the good reasons why 1 is not a prime number: because in many fundamental ways, it behaves fundamentally differently from the prime numbers. Clearly $$1 - frac11 = 1 - 1 = 0,$$ so then $phi(n)$ would be 0 for all $n$. Then 1 being prime would require a special case for Euler's totient function to be of any use.



                Lastly, I wanted to mention $phi(0) = 0$. Since 0 is divisible by all primes, even limiting to the positive primes, we'd have an infinite product on our hands. But then the whole thing is multiplied by 0, so there is no need to even begin computing an infinite product...






                share|cite|improve this answer









                $endgroup$















                  1












                  1








                  1





                  $begingroup$

                  What is the sum of zero numbers? 0, of course. Most people have no trouble conceptually with this. Obviously $x + 0 = x$. So 0 is the identity element of addition.



                  Now, what is the product of zero numbers? This one I need to go through the logic to convince myself of the right answer, I think most people do. The identity element is not 0 because $x times 0 = 0$, not $x$. But if we try 1 instead, then bingo: $x times 1 = x$.



                  Therefore, since no primes divide 1, and if $phi(n)$ really is a product of numbers of the form $$fracp - 1p$$ with $p$ prime, it follows that $phi(1) = 1$.




                  There are good reasons why 1 is not a prime number, and there are also stupid reasons. With Euler's totient function, we get a hint of one of the good reasons why 1 is not a prime number: because in many fundamental ways, it behaves fundamentally differently from the prime numbers. Clearly $$1 - frac11 = 1 - 1 = 0,$$ so then $phi(n)$ would be 0 for all $n$. Then 1 being prime would require a special case for Euler's totient function to be of any use.



                  Lastly, I wanted to mention $phi(0) = 0$. Since 0 is divisible by all primes, even limiting to the positive primes, we'd have an infinite product on our hands. But then the whole thing is multiplied by 0, so there is no need to even begin computing an infinite product...






                  share|cite|improve this answer









                  $endgroup$



                  What is the sum of zero numbers? 0, of course. Most people have no trouble conceptually with this. Obviously $x + 0 = x$. So 0 is the identity element of addition.



                  Now, what is the product of zero numbers? This one I need to go through the logic to convince myself of the right answer, I think most people do. The identity element is not 0 because $x times 0 = 0$, not $x$. But if we try 1 instead, then bingo: $x times 1 = x$.



                  Therefore, since no primes divide 1, and if $phi(n)$ really is a product of numbers of the form $$fracp - 1p$$ with $p$ prime, it follows that $phi(1) = 1$.




                  There are good reasons why 1 is not a prime number, and there are also stupid reasons. With Euler's totient function, we get a hint of one of the good reasons why 1 is not a prime number: because in many fundamental ways, it behaves fundamentally differently from the prime numbers. Clearly $$1 - frac11 = 1 - 1 = 0,$$ so then $phi(n)$ would be 0 for all $n$. Then 1 being prime would require a special case for Euler's totient function to be of any use.



                  Lastly, I wanted to mention $phi(0) = 0$. Since 0 is divisible by all primes, even limiting to the positive primes, we'd have an infinite product on our hands. But then the whole thing is multiplied by 0, so there is no need to even begin computing an infinite product...







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 9 hours ago









                  Robert SoupeRobert Soupe

                  11.4k21950




                  11.4k21950



























                      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%2f3140411%2feulers-totient-phi-function-as-a-product-of-primes%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

                      Moe incest case Sentencing See also References Navigation menu"'Australian Josef Fritzl' fathered four children by daughter""Small town recoils in horror at 'Australian Fritzl' incest case""Victorian rape allegations echo Fritzl case - Just In (Australian Broadcasting Corporation)""Incest father jailed for 22 years""'Australian Fritzl' sentenced to 22 years in prison for abusing daughter for three decades""RSJ v The Queen"

                      Who is our nearest planetary neighbor, on average?Santa Claus flies to the South PoleSeven Spheres of Unequal Mass, a weighing problem with a twistDescribe a large integerFast Mental Calculation of $7.5^7$Math in Space (without the help of celebrities)Find the value of $bigstar$: Puzzle 8 - InequalityWho drinks beer while running anyway?A Crucial DeliveryRanking And AverageHow long will my money last at roulette?

                      Daza language Contents Vocabulary Phonology References External links Navigation menudaza1242Daza"Dazaga"eeee178086576