Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
LucasL
  • See Also
    • Fibonacci
    • GoldenRatio
    • RSolve
    • LinearRecurrence
    • RecurrenceTable
    • DifferenceRoot
  • Related Guides
    • Recurrence and Sum Functions
    • Integer Sequences
    • Integer Functions
  • Tech Notes
    • Combinatorial Functions
    • See Also
      • Fibonacci
      • GoldenRatio
      • RSolve
      • LinearRecurrence
      • RecurrenceTable
      • DifferenceRoot
    • Related Guides
      • Recurrence and Sum Functions
      • Integer Sequences
      • Integer Functions
    • Tech Notes
      • Combinatorial Functions

LucasL[n]

gives the Lucas number .

LucasL[n,x]

gives the Lucas polynomial .

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Numerical Evaluation  
Specific Values  
Visualization  
Show More Show More
Function Properties  
Differentiation  
Series Expansions  
Function Identities and Simplifications  
Generalizations & Extensions  
Applications  
Properties & Relations  
Possible Issues  
Neat Examples  
See Also
Tech Notes
Related Guides
Related Links
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • Fibonacci
    • GoldenRatio
    • RSolve
    • LinearRecurrence
    • RecurrenceTable
    • DifferenceRoot
  • Related Guides
    • Recurrence and Sum Functions
    • Integer Sequences
    • Integer Functions
  • Tech Notes
    • Combinatorial Functions
    • See Also
      • Fibonacci
      • GoldenRatio
      • RSolve
      • LinearRecurrence
      • RecurrenceTable
      • DifferenceRoot
    • Related Guides
      • Recurrence and Sum Functions
      • Integer Sequences
      • Integer Functions
    • Tech Notes
      • Combinatorial Functions

LucasL

LucasL[n]

gives the Lucas number .

LucasL[n,x]

gives the Lucas polynomial .

Details

  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • The satisfy the recurrence relation with , .
  • For any complex value of n the are given by the general formula , where is the golden ratio.
  • The Lucas polynomial is the coefficient of in the expansion of .
  • The Lucas polynomials satisfy the recurrence relation .
  • LucasL can be evaluated to arbitrary numerical precision.
  • LucasL automatically threads over lists.
  • LucasL can be used with Interval and CenteredInterval objects. »

Examples

open all close all

Basic Examples  (4)

Compute Lucas numbers:

Plot over a subset of the reals:

Plot over a subset of the complexes:

Series expansion at the origin:

Scope  (39)

Numerical Evaluation  (6)

Evaluate numerically:

Evaluate to high precision:

The precision of the output tracks the precision of the input:

Complex number input:

Evaluate efficiently at high precision:

Compute worst-case guaranteed intervals using Interval and CenteredInterval objects:

Or compute average-case statistical intervals using Around:

Compute the elementwise values of an array:

Or compute the matrix LucasL function using MatrixFunction:

Specific Values  (6)

Values of LucasL at fixed points:

LucasL for symbolic n:

Values at zero:

Find the value of x in which LucasL[2,x]=5:

Compute the associated LucasL[7,x] polynomial:

Compute the associated LucasL[1/2,x] polynomial for half-integer n:

Visualization  (4)

Plot the LucasL polynomial for various orders:

Plot the real part of TemplateBox[{2}, LucasL](z):

Plot the imaginary part of TemplateBox[{2}, LucasL](z):

Plot as real parts of two parameters vary:

Types 2 and 3 of LucasL function have different branch cut structures:

Function Properties  (14)

LucasL is defined for all real and complex values:

The range of TemplateBox[{n, x}, LucasL2] is all real numbers for odd :

Its range over the complex plane is all complex numbers for any natural number :

Lucas polynomial of an odd order is odd:

Lucas polynomial of an even order is even:

LucasL has the mirror property TemplateBox[{n, {z, }}, LucasL2]=TemplateBox[{n, z}, LucasL2]:

LucasL threads elementwise over lists:

TemplateBox[{n, x}, LucasL2] is an analytic function of :

LucasL is neither non-decreasing nor non-increasing for even values:

LucasL is non-decreasing for odd values:

LucasL is not injective for even values:

LucasL is not surjective for even values:

LucasL is non-negative for even values:

LucasL does not have singularity nor discontinuity:

LucasL is convex for even values:

TraditionalForm formatting:

Differentiation  (3)

First derivatives with respect to n:

First derivative with respect to x:

Higher derivatives with respect to x:

Plot the higher derivatives with respect to x when n=4:

Formula for the ^(th) derivative with respect to x:

Series Expansions  (4)

Find the Taylor expansion using Series:

Plots of the first three approximations around :

General term in the series expansion using SeriesCoefficient:

Find the series expansion at Infinity:

Taylor expansion at a generic point:

Function Identities and Simplifications  (2)

Lucas numbers are related to the Fibonacci numbers by the identities:

The ordinary generating function of LucasL:

Generalizations & Extensions  (1)

Lucas polynomials:

Applications  (6)

Solve the Fibonacci recurrence equation:

Find ratios of successive Lucas numbers:

Compare with continued fractions:

Convergence to the Golden Ratio:

Calculate the number of ways to write an integer as a sum of Lucas numbers :

Plot the counts for the first hundred integers:

Find the first Lucas number above 1000000:

First few Lucas pseudoprimes:

Compute Artin's constant:

Properties & Relations  (10)

Expand in terms of elementary functions:

Limiting ratio:

Explicit recursive definition:

Simplify some expressions involving Lucas numbers:

Generating function:

Extract Lucas numbers as coefficients:

LucasL can be represented as a DifferenceRoot:

General term in the series expansion of LucasL:

The generating function for LucasL:

FindSequenceFunction can recognize the LucasL sequence:

The exponential generating function for LucasL:

Possible Issues  (2)

Large arguments can give results too large to be computed explicitly:

Results for integer arguments may not hold for non-integers:

Neat Examples  (2)

See Also

Fibonacci  GoldenRatio  RSolve  LinearRecurrence  RecurrenceTable  DifferenceRoot

Tech Notes

    ▪
  • Combinatorial Functions

Related Guides

    ▪
  • Recurrence and Sum Functions
  • ▪
  • Integer Sequences
  • ▪
  • Integer Functions

Related Links

  • MathWorld

History

Introduced in 2007 (6.0) | Updated in 2008 (7.0)

Wolfram Research (2007), LucasL, Wolfram Language function, https://reference.wolfram.com/language/ref/LucasL.html (updated 2008).

Text

Wolfram Research (2007), LucasL, Wolfram Language function, https://reference.wolfram.com/language/ref/LucasL.html (updated 2008).

CMS

Wolfram Language. 2007. "LucasL." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/LucasL.html.

APA

Wolfram Language. (2007). LucasL. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LucasL.html

BibTeX

@misc{reference.wolfram_2025_lucasl, author="Wolfram Research", title="{LucasL}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/LucasL.html}", note=[Accessed: 01-March-2026]}

BibLaTeX

@online{reference.wolfram_2025_lucasl, organization={Wolfram Research}, title={LucasL}, year={2008}, url={https://reference.wolfram.com/language/ref/LucasL.html}, note=[Accessed: 01-March-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English