Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

is_square_free function

Test whether no square greater than 1 divides a whole number.

How to write it

is_square_free(n)

n
A whole number. Takes a whole number.

Examples

  • is_square_free⁡(10)=true⁡\displaystyle \operatorname{is\_square\_free}(10) = \operatorname{true}
    is_square_free(10)

    In the solver, is_square_free(10) gives true.

    Open in the solver