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
                      • Combinatorics and Progressions
                      • Combinatorics and Progressions

                      Lucas

                      Reading time: 1min

                      Returns the desired Lucas number. Similar to the Fibonacci numbers, each Lucas number is defined to be the sum of its two immediately previous terms. The first two Lucas numbers are L0=2, L1=1 and for n greater than 2, Ln=Ln-1+Ln-2.

                      Syntax

                      lucas(Integer)
                      

                      Description

                      Given an integer n, returns Ln.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Arithmetic
                      • Binomial
                      • Category
                      • Combinations
                      • Combinations with repetition

                      Lucas

                      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