Can anyone has has completed set 1 question 2 please run, say, the 45th prime and see if you get "for prime number 199 the log is 188.563506272 the ratio is: 1.05534736776" just so i can see if my program is doing what it is supposed to?
Sorry - it should read... "for prime number 199 the SUM of the logs is 188...etc
How many primes should I sum?: 199 The sum of logs is 183.270201 n is 199 The ratio of the two is 0.920956
Oh :( That is different to mine... :( Thankyou very much for running it.
Joz: you can also use the link to the list of primes given in the assignment by using the link and checking if your program generates the right primes you'll make sure you compute the right things
yes. I spent a long time examining question 1 but rushed the second now I see that was a mistake. Thanks for your help :) I'm back off to debug it properly now...
Join our real-time social learning platform and learn together with your friends!