Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

partitions_q function

How many ways a whole number is a sum of distinct positive whole numbers.

How to write it

partitions_q(n)

n
A whole number. Takes a whole number.

Examples

  • partitions_q⁡(10)=10\displaystyle \operatorname{partitions\_q}(10) = 10
    partitions_q(10)

    In the solver, partitions_q(10) gives 10.

    Open in the solver
  • partitions_p

    How many ways a whole number is a sum of positive whole numbers, in any order of terms.

  • integer_partitions

    All the ways to write a whole number as a sum of positive whole numbers.

  • power_mod

    A power modulo a number: base^exponent mod modulus.

  • previous_prime

    The greatest prime less than a number.

  • nth_prime

    The n-th prime, counting 2 as the first.

  • prime_nu

    How many distinct primes divide a whole number.