Wiris

Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • CalcMe
                      • Commands
                      • Arithmetic
                      • Arithmetic

                      Phi Euler

                      Reading time: 1min

                      Euler's totient function counts the positive integers up to a given integer n that are relatively prime to n. Formally, it can be defined as the number of integers k in the range 1≤k≤n for which gcd(n,k)=1. Euler's product formula states

                      For a prime number p and for an integer k, this expression reduces to

                      Syntax

                      phi_euler(Integer)
                      

                      Description

                      Given an integer n, returns φ(n).

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Integrate
                      • Limit
                      • Series
                      • Round

                      Phi Euler

                      Syntax Description

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Learning Lemur

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand