H1
Is a positive integer squarefree?
Input: A positive integer in the range [1, 231)
Output: A standard true value if n is squarefree (not divisible by any perfect square >1), and a standard false value otherwise.
Examples:
210->True
1 ->True
45 ->False
Languages, by Score
Languages, by Name
page revision: 4, last edited: 26 Jul 2018 11:51