sum of logarithams of prime numbers
Posted
by nadi
on Stack Overflow
See other posts from Stack Overflow
or by nadi
Published on 2010-06-15T03:20:28Z
Indexed on
2010/06/15
3:22 UTC
Read the original article
Hit count: 246
microsoft-word-1997
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