Блог пользователя M.Mahdi

Автор M.Mahdi, 11 лет назад, По-английски

Hi!
Did you know is O(nlogn)? (ω(n) is the number of distinct prime divisors of n)

I wonder why! Do you have any mathematical proof for this?

  • Проголосовать: нравится
  • +80
  • Проголосовать: не нравится

»
11 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +336 Проголосовать: не нравится

Because 2w(i) ≤ d(i) (d(n) is the number of divisors of n), so this is less than sum of d(i), which is the number of pairs i, j such that j divides i, which is sum of n/j, which is O(nlogn).

»
11 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +24 Проголосовать: не нравится

What about lower bound? I can prove just Ω(nloglogn)

»
11 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +71 Проголосовать: не нравится

Lower bound:

Let Pn be a set of primes not larger than n.

(look here: http://en.wikipedia.org/wiki/Divergence_of_the_sum_of_the_reciprocals_of_the_primes). It follows that average number of different primes divisors is , so since 2x is convex we get that it's at least .