主题
Search

无平方因子部分


正整数 中除去所有平方因子后剩下的部分。例如,24=2^3·3 的无平方因子部分是 6,因为 6·2^2=24。对于 n=1, 2, ..., 前几个是 1, 2, 3, 1, 5, 6, 7, 2, 1, 10, ... (OEIS A007913)。无平方因子部分函数可以在 Wolfram 语言 中实现为

  SquarefreePart[n_Integer?Positive] :=
    Times @@ Power @@@ ({#[[1]], Mod[#[[2]], 2]}& /@
      FactorInteger[n])

另请参阅

无立方因子部分, 平方因子部分, 无平方因子

使用 Wolfram|Alpha 探索

参考文献

Atanassov, K. "On the 22nd, 23rd, and the 24th Smarandache Problems. Notes on Number Theory and Discrete Mathematics, Sophia, Bulgaria 5, 80-82, 1999.Atanassov, K. On Some of the Smarandache's Problems. Lupton, AZ: American Research Press, pp. 16-21, 1999.Sloane, N. J. A. Sequence A007913 in "The On-Line Encyclopedia of Integer Sequences."Smarandache, F. Only Problems, Not Solutions!, 4th ed. Phoenix, AZ: Xiquan, 1993.

在 Wolfram|Alpha 中被引用

无平方因子部分

请引用为

Weisstein, Eric W. "无平方因子部分。" 来自 MathWorld--Wolfram Web 资源。 https://mathworld.net.cn/SquarefreePart.html

主题分类