theFakeFellow's blog

By theFakeFellow, history, 3 years ago, In English

How to find how many numbers in range [l, r] are coprime to n where r-l < n? [ in O(sqrt(n)) complexity]


Thanks in advance.

Full text and comments »

  • Vote: I like it
  • -4
  • Vote: I do not like it