text stringlengths 0 66.2k |
|---|
E_0 = 0, |
For k=1: |
E_1 = 1 + (1/3) E_0 + (2/3) E_2 = 1 + (2/3) E_2 |
For k=2: |
E_2 = 1 + (2/3) E_1 + (1/3) E_3 |
For k=3: |
E_3 = 1 + (3/3) E_2 + 0 = 1 + E_2 |
So substituting E_3 into E_2: |
E_2 = 1 + (2/3) E_1 + (1/3)(1 + E_2) |
Multiply through: |
E_2 = 1 + (2/3) E_1 + 1/3 + (1/3) E_2 |
Subtract (1/3) E_2 from both sides: |
(2/3) E_2 = 4/3 + (2/3) E_1 |
Multiply both sides by 3/2: |
E_2 = 2 + E_1 |
Now plug into E_1's equation: |
E_1 = 1 + (2/3)(2 + E_1) = 1 + 4/3 + (2/3) E_1 |
Thus, |
E_1 - (2/3) E_1 = 7/3 => (1/3) E_1 = 7/3 => E_1 = 7. |
Hmm, so for N=3, starting at k=1, the expectation is 7. Hmm, 3, 7... Let me see if I can see a pattern here. |
Wait N=2 gives 3, which is 2^2 -1? No, 2^2 is 4, minus 1 is 3. For N=3, 3^2 - 2? 9-2=7? Not sure. Alternatively, 2*1 +1=3, 3*2 +1=7? Not sure. Alternatively, 3 = 1*3, 7= 2*3 +1? Not obvious. Let's try N=4 to see. |
For N=4, starting at k=1, compute E_1. |
Equations: |
E_0 =0, |
E_1 =1 + (1/4) E_0 + (3/4) E_2 =1 + (3/4) E_2, |
E_2 =1 + (2/4) E_1 + (2/4) E_3, |
E_3 =1 + (3/4) E_2 + (1/4) E_4, |
E_4 =1 + (4/4) E_3 +0 =1 + E_3. |
So let's substitute E_4 into E_3: |
E_3 =1 + (3/4) E_2 + (1/4)(1 + E_3) |
Multiply through: |
E_3 =1 + (3/4) E_2 + 1/4 + (1/4) E_3 |
Subtract (1/4) E_3 from both sides: |
(3/4) E_3 = 5/4 + (3/4) E_2 |
Multiply both sides by 4/3: |
E_3 = 5/3 + E_2 |
Now substitute E_3 into E_2: |
E_2 =1 + (1/2) E_1 + (1/2)(5/3 + E_2) |
Simplify: |
E_2 =1 + (1/2) E_1 + 5/6 + (1/2) E_2 |
Subtract (1/2) E_2: |
(1/2) E_2 = 11/6 + (1/2) E_1 |
Multiply both sides by 2: |
E_2 = 11/3 + E_1 |
Now plug into E_1 equation: |
E_1 =1 + (3/4)(11/3 + E_1) =1 + (11/4) + (3/4) E_1 |
Thus, |
E_1 - (3/4) E_1 = 15/4 => (1/4) E_1 = 15/4 => E_1 =15 |
Hmm, so for N=4, E_1 is 15. |
Looking at the pattern: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.