Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Divisors of a number (divisors)

The positive divisors of a whole number, in increasing order.

How to write it

divisors(n)

n
A positive whole number. Takes a whole number.

Examples

  • divisors⁡(28)=[1,2,4,7,14,28]\displaystyle \operatorname{divisors}(28) = \left[ 1, 2, 4, 7, 14, 28 \right]
    divisors(28)

    In the solver, divisors(28) gives [1, 2, 4, 7, 14, 28].

    Open in the solver
  • euler_e

    The n-th Euler number.

  • divisor_sum

    Sum of the positive divisors of a whole number.

  • euler_phi

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

  • divisor_sigma

    Sum of the powers of the divisors of a whole number.

  • extended_gcd

    Greatest common divisor of two whole numbers with the multipliers that give it.

  • divisor_count

    How many positive divisors a whole number has.