Probability and Expected value, flash back to the AMC
Source: STEMS 2022 Cat A P1
December 20, 2021
probabilityexpected valuenumber theoryrelatively prime
Problem Statement
We have written on a board in a line. We randomly choose a strictly increasing sequence from such that the last term is . If the chosen sequence is ( is not fixed), then at the step, we choose the first a numbers on the line and change the 1s to 0s and 0s to 1s. After steps are over, we calculate the sum of the numbers on the board, say . The expected value of is where are relatively prime positive integers. Find