InterviewBit Problems   MATH_BUG01 : Unsolved


About the MATH_BUG01 : Unsolved category (1)
Return 0 if A is 1 (1)
Remember 1 is neither prime nor composite (2)
Composite number (1)
Return 0; confusion (2)
Implementation in MATH_BUG01 (3)
But 1 is neither a prime number nor a composite number (2)
Why we are iterating until the sqrt(n) only? (3)