print the terms of the sequence
Source: Polish MO Recond Round 1980 p5
September 9, 2024
number theorycombinatorics
Problem Statement
We print the terms of the sequence , where , and for is an integer selected randomly from the range (each number in this range is equally likely to be selected). We stop printing when the selected number is zero, i.e. , , The length of the sequence is a random variable. Prove that the expected value of this random variable is greater than 7.