Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

stirling_s1 function

Stirling number of the first kind, with sign.

How to write it

stirling_s1(n, k)

n
A whole number. Takes a whole number.
k
A whole number. Takes a whole number.

Examples

  • stirling_s1⁡(4,2)=11\displaystyle \operatorname{stirling\_s1}(4, 2) = 11
    stirling_s1(4, 2)

    In the solver, stirling_s1(4, 2) gives 11.

    Open in the solver
  • stirling_s2

    Stirling number of the second kind: the ways to split n items into k groups.

  • squares_r

    How many ways a whole number is a sum of a given count of squares, counting order and signs.

  • subfactorial

    Subfactorial: how many ways to reorder n items so none stays in place.

  • solve_congruence

    Solve a congruence for a variable.

  • totient

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

  • primitive_root

    A primitive root of a prime: a number whose powers cover all the nonzero residues.