TOPICS
Search

Squarefree Part


The squarefree part of a positive integer is the quotient obtained by dividing it by its square part. For example, the squarefree part of 24=2^3·3 is 6, since 6·2^2=24. For n=1, 2, ..., the first few are 1, 2, 3, 1, 5, 6, 7, 2, 1, 10, ... (OEIS A007913). The squarefree part function can be implemented in the Wolfram Language as

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

See also

Cubefree Part, Square Part, Squarefree

Explore with Wolfram|Alpha

References

Atanassov, K. "On the 22-nd, the 23-th and the 24-th Smarandache's Problems." Notes on Number Theory and Discrete Mathematics 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.

Referenced on Wolfram|Alpha

Squarefree Part

Cite this as:

Weisstein, Eric W. "Squarefree Part." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SquarefreePart.html

Subject classifications