Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

discrete_log function

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

How to write it

discrete_log(base, value, m)

base
The base. Takes a whole number.
value
The value to reach. Takes a whole number.
m
The modulus. Takes a whole number.

Examples

  • discrete_log⁡(2,8,11)=3\displaystyle \operatorname{discrete\_log}(2, 8, 11) = 3
    discrete_log(2, 8, 11)

    In the solver, discrete_log(2, 8, 11) gives 3.

    Open in the solver