• anonymous
I'm having a problem with understanding question ps1b. I think it means that you should add the logs of all the primes that come before prime number n. Then divide the sum of the logs by n. But when I do that for 23 & 29 the ratio for 23 is higher than for 29. Here is how I would do that part on the command line: (log(2)+log(3)+log(5)+log(7)+log(11)+log(13)+log(17)+log(19))/23 and (log(2)+log(3)+log(5)+log(7)+log(11)+log(13)+log(17)+log(19)+log(23))/29 But the ratio for 23: 0.69946106453043633 Ratio for 29: 0.66286547241824778 What am I missing?
MIT 6.00 Intro Computer Science (OCW)
• Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Looking for something else?

Not the answer you are looking for? Search for more explanations.