what is the probability that you get a prime number when you pick two random numbers between 0 and 1, a and b, and divide b by a and round up?

let's say your random numbers where 0.09121=a, and 0.6163=b, b/a=6.8665 and rounding up you get 7


It will be $$\sum\limits_{p\text{ prime}} \dfrac1{2p(p-1)} \approx 0.3866$$

if you consider something like this

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.