asked 206k views
3 votes
Pick a random number (evenly distributed) between 0 and 1. Continue picking random numbers as long as they keep decreasing; stop picking when you obtain a number that is greater than the previous one you picked. What is the expected number of numbers you pick?

2 Answers

2 votes

Answer:

Explanation:

001

answered
User Don Neufeld
by
8.4k points
3 votes

Answer:

e = 2.718

Explanation:

- There're "n!" ways of arranging "n" numbers, supposing that there're n picks, then the first (n−1) picks are in descending order, there are (n−1) ways of choosing the first (n−1) numbers and thus the probability of picking just n numbers is:

(n-1) / n!

- The expected value (E) would be:

E = ∑ n*(n-1)/n!

= ∑ n*(n-1)/n*(n-1)*(n-2)!

= ∑ (n = 2 to infinity) [ 1 / (n-2)! ] = ∑ (n = 0 to infinity) [ 1 / (n)! ]

= e ...... (Maclaurin series approximation)

answered
User Jacob Abraham
by
8.8k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.