Barbara writes a sequence of integers starting with the number 12. Each subsequent
integer she writes is chosen randomly with equal probability from amongst the positive divisors of the previous integer (including the possibility of the integer itself). She keeps writing integers until she writes the integer 1 for the first time, and then she stops.
An example of one such sequence is 12, 6, 6, 3, 3, 3, 1.
What is the expected value of the number of terms in Barbara’s sequence?
let e1,e2,e3,e4,e6,e12 be the respective expected number of terms in Barbara's sequence when starting with that number.
So we obviously can start with e1=1
e2=1+(1/2)*(e1+e2)
2e2=2+e1+e2
e2=2+e1=2+1=3
e2=3
e3=1+(1/2)*(e1+e3)=1+(1/2)*(1+e3)
2e3=2+1+e3
e3=3
e4=1+(1/3)*(e1+e2+e4)=1+(1/3)*(1+3+e4)
3e4=3+1+3+e4
2e4=7
e4=7/2
e6=1+(1/4)*(e1+e2+e3+e6)=1+(1/4)*(1+3+3+e6)
4e6=4+1+3+3+e6
3e6=11
e6=11/4
e12=1+(1/6)*(e1+e2+e3+e4+e6+e12)
e12=1+(1/6)*(1+3+3+(7/2)+(11/4)+e12)
5e12=6+1+3+3+(7/2)+(11/4)
e12=121/30
so the expected number of terms is 121/30 which is approximately 4.03
|
Posted by Daniel
on 2010-04-09 14:30:21 |