We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7d376d commit 2b739bfCopy full SHA for 2b739bf
Maths/MobiusFunction.js
@@ -28,6 +28,6 @@ export const mobiusFunction = (number) => {
28
return primeFactorsArray.length !== new Set(primeFactorsArray).size
29
? 0
30
: primeFactorsArray.length % 2 === 0
31
- ? 1
32
- : -1
+ ? 1
+ : -1
33
}
0 commit comments