python-nth perfect square

Posted by kasyap on Stack Overflow See other posts from Stack Overflow or by kasyap
Published on 2010-06-15T03:30:06Z Indexed on 2010/06/15 3:32 UTC
Read the original article Hit count: 205

Filed under:

Write a program that computes the sum of the logarithms of all the primes from 2 to some number n, and print out the sum of the logs of the primes, the number n, and the ratio of these two quantities. Test this for different values of n.

© Stack Overflow or respective owner

Related posts about python2.5