Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

divisor_sum function

Sum of the positive divisors of a whole number.

How to write it

divisor_sum(n)

n
A whole number. Takes a whole number.

Examples

  • divisor_sum⁡(12)=28\displaystyle \operatorname{divisor\_sum}(12) = 28
    divisor_sum(12)

    In the solver, divisor_sum(12) gives 28.

    Open in the solver
  • divisor_sigma

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

  • divisor_count

    How many positive divisors a whole number has.

  • divisors

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

  • euler_e

    The n-th Euler number.

  • euler_phi

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

  • discrete_log

    The exponent that takes a base to a value modulo a number.