UVA 11762

Revision en4, by Upgrading....., 2019-02-05 11:10:29

UVA 11762

Suppose we want to calculate E(N) where N is a number,k is the number of it’s distinct prime factors and p is the number of primes < n

Normal rule, E(N)=(1/p)*(1 + E(N/a1) + E(N/a2) + E(N/a3) … + E(N/ak)) + ((p-k)/p)*(1 + E(N))

What is the wrong about this logic?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English Upgrading..... 2019-02-05 11:10:29 2 Tiny change: 'imes < n\nNormal ' -> 'imes < n\n\nNormal '
en3 English Upgrading..... 2019-02-05 11:10:12 225
en2 English Upgrading..... 2019-02-05 11:03:58 4 Tiny change: 'N)=(1/p)*(E(N/a1) + ' -> 'N)=(1/p)*(1 + E(N/a1) + '
en1 English Upgrading..... 2019-02-05 03:52:11 594 Initial revision (published)