We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 183399d commit 0e36367Copy full SHA for 0e36367
Maths/IsSquareFree.js
@@ -9,13 +9,8 @@
9
/**
10
* @function isSquareFree
11
* @description -> Checking if number is square free using prime factorization
12
- * If list of prime factors of the number contains repeated prime factors, then the number is not square free
13
- * therefore, the function will return false
14
- *
15
- * If list of prime factors of the number contains unique prime factors, then the number is square free
16
- * therefore, the function will return true
17
* @param {number} number
18
- * @returns {boolean}
+ * @returns {boolean} true if the number has unique prime factors, otherwise false
19
*/
20
21
import { PrimeFactors } from './PrimeFactors.js'
0 commit comments