- 注册时间
- 2009-2-12
- 最后登录
- 1970-1-1
- 威望
- 星
- 金币
- 枚
- 贡献
- 分
- 经验
- 点
- 鲜花
- 朵
- 魅力
- 点
- 上传
- 次
- 下载
- 次
- 积分
- 22770
- 在线时间
- 小时
|
发表于 2013-8-1 22:31:35
|
显示全部楼层
如mathe所言,给出1的期望数目
- {4,2 p}
- {5,-(-4+p) p^2}
- {6,-4 (-2+p) p^3}
- {7,p^4 (16-12 p+p^2-p^3+p^4)}
- {8,-2 p^5 (4-3 p-p^2+p^3) (-4+p-p^2+p^3)}
- {9,p^6 (64-80 p+24 p^2-13 p^3+6 p^4+8 p^5+8 p^6-14 p^7+4 p^8)}
- {10,-2 p^7 (-64+96 p-40 p^2+20 p^3-10 p^4-8 p^5-7 p^6-4 p^7+28 p^8-18 p^9+3 p^10)}
- {11,p^8 (256-448 p+240 p^2-120 p^3+65 p^4+29 p^5+24 p^6+5 p^7+14 p^8-204 p^9+223 p^10-97 p^11+31 p^12-10 p^13+p^14)}
- {12,-2 p^9 (-256+512 p-336 p^2+176 p^3-101 p^4-20 p^5-20 p^6+6 p^7-7 p^8-12 p^9+343 p^10-524 p^11+330 p^12-122 p^13+p^14+48 p^15-27 p^16+4 p^17)}
- {13,-p^10 (-1024+2304 p-1792 p^2+1008 p^3-604 p^4-7 p^5-68 p^6+69 p^7-12 p^8-15 p^9-166 p^10+2604 p^11-4980 p^12+4341 p^13-2562 p^14+1088 p^15-364 p^16+609 p^17-718 p^18+335 p^19-66 p^20+14 p^21-6 p^22+p^23)}
- {14,-2 p^11 (-1024+2560 p-2304 p^2+1408 p^3-876 p^4+118 p^5-68 p^6+116 p^7-9 p^8+10 p^9-176 p^10-4 p^11+4438 p^12-10544 p^13+11162 p^14-7556 p^15+3042 p^16+510 p^17-1475 p^18+2100 p^19-3196 p^20+2676 p^21-1190 p^22+388 p^23-142 p^24+20 p^25+17 p^26-8 p^27+p^28)}
- {15,-p^12 (-4096+11264 p-11520 p^2+7680 p^3-4960 p^4+1252 p^5-369 p^6+669 p^7-83 p^8+120 p^9-802 p^10+237 p^11-1050 p^12+34193 p^13-94583 p^14+121472 p^15-103735 p^16+66516 p^17-31313 p^18+23392 p^19-31180 p^20+39705 p^21-56551 p^22+62657 p^23-43426 p^24+20198 p^25-7060 p^26+585 p^27+1347 p^28-474 p^29-272 p^30+226 p^31-57 p^32+5 p^33)}
复制代码 再给一下 图像:
然后计算这些1的期望数目的多项式=1的时候p的值:
{4,0.5000000000}
{5,0.5374015770}
{6,0.5575439973}
{7,0.5712360524}
{8,0.5813885621}
{9,0.5893377588}
{10,0.5957991736}
{11,0.6011967994}
{12,0.6058008376}
{13,0.6097931583}
{14,0.6133015047}
{15,0.6164187214}
附带给出代码:- t={{{0,1,0},1}};
- d=Table[{n+3,t=Table[{g[[1,1]],Total[g[[All,2]]]//Factor},{g,GatherBy[Flatten[Table[Table[{{0,Sequence@@k[[All,1]],0},(k[[All,2]]/.List->Times)i[[2]]},{k,Tuples[Table[If[i[[1,ii]]+i[[1,ii+1]]==0,{{0,1}},{{0,(1-p)},{1,p}}],{ii,Length[i[[1]]]-1}]]}],{i,t}],1],#[[1]]&]}];
- Factor@Sum[Total[i[[1]]]*i[[2]], {i, t}]},{n,8}]
复制代码 |
|