adurysk's blog

By adurysk, history, 9 years ago, In English
  • Vote: I like it
  • +105
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it +11 Vote: I do not like it

Auto comment: topic has been updated by adurysk (previous revision, new revision, compare).

»
9 years ago, # |
  Vote: I like it +8 Vote: I do not like it

Thanks , the blog is really quite interesting and informative.

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Many such problems (including those two in the blogpost, if I'm not mistaken) can also be solved in sublinear time. It's cool and worth thinking about, so I encourage you to do so :).

Spoilers below in Section 2. http://www.mimuw.edu.pl/~pan/papers/farey-algorithmica.pdf

»
7 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Can u tell how to calculate cnt2[d] and how to link it with no of pairs having i and j as multiple of it's gcd multiple?