MathTop

is_sphenic 函数

判断 n 是否为三个不同素数的乘积。

语法

  • IsSphenic(n)
  • is_sphenic(n)

参数与选项

n要判断的整数。

示例

  1. 三素数乘积IsSphenic(30)返回 true。