跳转到内容

This page is also in English.

Read it in English

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

Léela en español

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

日本語で読む

solve_congruence 函数

对变量求解同余式。

怎么写

solve_congruence(equation, x, m)

equation
要求解的同余式。接受一个方程。
x
要求解的变量。接受一个变量。
m
模。接受一个整数。

示例

  • solve_congruence⁡(3x=1,x,7)⇒[x=5+7C1]\displaystyle \operatorname{solve\_congruence}(3 x = 1, x, 7) \Rightarrow \left[ x = 5+7 C_{1} \right]
    solve_congruence(3 x = 1, x, 7)

    在求解器中,solve_congruence(3 x = 1, x, 7) 的结果是 [x = 5 + 7C(1)]。

    在求解器中打开
  • squares_r

    一个整数表示为给定个数平方和的方案数,计入顺序和符号。

  • primitive_root

    质数的原根:其幂覆盖所有非零剩余的数。

  • stirling_s1

    带符号的第一类 Stirling 数。

  • prime_pi

    不超过某个数的质数个数。

  • stirling_s2

    第二类 Stirling 数:把 n 个元素分成 k 组的方案数。

  • prime_omega

    能整除一个整数的质数个数,按重数计。