P36 - 质因数分解(含重数)
List of prime factors and multiplicities
官方模块:
Problems.P36核心函数:primeFactorsMultiplicity
← P35 质因数分解 | P37 欧拉乘积公式求 φ(n) →
← P35 质因数分解 | P37 欧拉乘积公式求 φ(n) →
题目描述
将正整数分解为质因数及其重数的列表。
函数签名
思路
实现
测试
1-- >>>
List of prime factors and multiplicities
官方模块:
Problems.P36核心函数:primeFactorsMultiplicity
← P35 质因数分解 | P37 欧拉乘积公式求 φ(n) →
← P35 质因数分解 | P37 欧拉乘积公式求 φ(n) →
将正整数分解为质因数及其重数的列表。
1-- >>>