Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

carmichael_lambda function

Carmichael function: the least power that takes every number coprime to n to 1 modulo n.

How to write it

carmichael_lambda(n)

n
A whole number. Takes a whole number.

Examples

  • carmichael_lambda⁡(15)=4\displaystyle \operatorname{carmichael\_lambda}(15) = 4
    carmichael_lambda(15)

    In the solver, carmichael_lambda(15) gives 4.

    Open in the solver
  • catalan_number

    The n-th Catalan number.

  • bernoulli_b

    The n-th Bernoulli number.

  • chinese_remainder

    The number that leaves given remainders on division by given moduli.

  • bell_b

    The n-th Bell number: how many ways to split n items into groups.

  • continued_fraction

    The continued fraction of a rational number, as a list.

  • totient

    Euler's totient: how many whole numbers up to n are coprime to n.