双色球红球序值对应码表及计算公式

sheet1:array [1..28] of integer=(0,201376,371287,513793,632548,730828,811558,
877338,930468,972972,1006621,1032955,1053304,1068808,1080436,1089004,1095192,
1099560,1102563,1104565,1105852,1106644,1107106,1107358,1107484,1107540,1107561,1107567);
sheet2:array [2..29] of integer=(0,31465,58870,82621,103096,120646,135596,148246,
158872,167727,175042,181027,185872,189748,192808,195188,197008,198373,199374,200089,
200584,200914,201124,201250,201320,201355,201370,201375);
sheet3:array [3..30] of integer=(0,4060,7714,10990,13915,16515,18815,20839,22610,24150,
25480,26620,27589,28405,29085,29645,30100,30464,30750,30970,31135,31255,31339,31395,
31430,31450,31460,31464);
sheet4:array [4..31] of integer=(0,406,784,1135,1460,1760,2036,2289,2520,2730,2920,
3091,3244,3380,3500,3605,3696,3774,3840,3895,3940,3976,4004,4025,4040,4050,4056,4059);
sheet5:array [5..32] of integer=(0,28,55,81,106,130,153,175,196,216,235,253,270,286,
301,315,328,340,351,361,370,378,385,391,396,400,403,405);
sheet6:array [6..33] of integer=(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,
20,21,22,23,24,25,26,27);

 

红球序值计算公式

sheet1[n1]+sheet2[n2]-sheet2[n1+1]+sheet3[n3]-sheet3[n2+1]+sheet4[n4]-
 sheet4[n3+1]+sheet5[n5]-sheet5[n4+1]+sheet6[n6]-sheet6[n5+1];

 

n1-n6为红球

发布了5 篇原创文章 · 获赞 3 · 访问量 9628
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览