# lucas_l function

The n-th Lucas number.

## How to write it

### lucas_l(n)

**n**

A whole number. Takes a whole number.

## Examples

- $\displaystyle \operatorname{lucas\_l}(5) = 11$

  `lucas_l(5)`

  In the solver, `lucas_l(5)` gives `11`.

  [Open in the solver](https://hilberon.com/?q=lucas_l%285%29)

## Related functions

- [modular_inverse](https://hilberon.com/library/modular_inverse)

  The inverse of a whole number modulo another.
- [jacobi_symbol](https://hilberon.com/library/jacobi_symbol)

  Jacobi symbol (a/n), for an odd positive n.
- [moebius_mu](https://hilberon.com/library/moebius_mu)

  Moebius function: 0 if a square divides n, else 1 or -1 by the parity of its prime factors.
- [is_square_free](https://hilberon.com/library/is_square_free)

  Test whether no square greater than 1 divides a whole number.
- [multinomial](https://hilberon.com/library/multinomial)

  Multinomial coefficient: the ways to split n items into groups of the given sizes.
- [is_prime_power](https://hilberon.com/library/is_prime_power)

  Test whether a whole number is a power of a prime.

---
Source: https://hilberon.com/library/lucas_l
