Ad
  • Custom User Avatar

    Hello guys. I still don't understand why the result case is like that. Let me explain my view. The probability a number except 1 (because 1 and n have GFD 1 and it's prohibited for the problem) toward n where that number is a factor of n is 3 / n. For example, 21 (comes from 3 * 7) only have 4 factor. They are 1, 3, 7, and 21. And 1 is prohibited. So the total is 3. So the probability 3/n. Let me know my mistake, so I know why test case is different of my view. Lo siento, bad English.