Let n ≥ 2 be an integer and let a1, a2, . . . , an be a permutation of the set {1, 2, . . . , n}. Define a0 = 0 and an+1 = 0, and consider the sequence a0, a1, a2, a3, . . . , an, an+1. A position i with 1 ≤ i ≤ n is called awesome, if ai > ai−1 and ai > ai+1. In words, i is awesome if the value at position i is larger than both its neighboring values. For example, if n = 6 and the permutation is 2, 5, 4, 3, 1, 6, we get the sequence 

Value 0 2 5 4 3 1 6 0
Position 0 1 2 3 4 5 6 7


 Consider a uniformly random permutation of the set {1, 2, . . . , n} and define the random variable X to be the number of awesome positions. Determine the expected value E(X) of the random variable X.In this case, the positions 2 and 6 are awesome, whereas the positions 1, 3, 4, and 5 are not awesome.

 Hint: Use indicator random variables.

in Other Math Topics by Level 1 User (200 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

Related questions

0 answers
asked Nov 28, 2017 in Other Math Topics by kate98 Level 1 User (200 points) | 315 views
1 answer
asked Nov 27, 2017 in Other Math Topics by kate98 Level 1 User (200 points) | 401 views
1 answer
asked Aug 20, 2017 in Other Math Topics by McCquabena Bannor Level 4 User (7.5k points) | 564 views
1 answer
asked Aug 12, 2017 in Other Math Topics by McCquabena Bannor Level 4 User (7.5k points) | 1.7k views
1 answer
asked May 17, 2022 in Other Math Topics by anonymous | 279 views
1 answer
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!
87,516 questions
100,279 answers
2,420 comments
731,964 users