Re: A Big Ol' Database
- Posted by CK Lester <cklester at yahoo.com> Apr 05, 2001
- 499 views
This is a multi-part message in MIME format. ------=_NextPart_000_0155_01C0BDD1.DD335FC0 charset="iso-8859-1" Euman, I'm not interested in past picks. What I want to do is have a database = of all possible combinations of 6 from 54. I'm tracking this primarily = to prevent duplication in assignment of picks to various entities. Is there a formula I can use that will convert a number (1...25827165) = to a corresponding, unique, set of picks? For instance... 1 =3D 1, 2, 3, 4, 5, 6 2 =3D 1, 2, 3, 4, 5, 7 3 =3D 1, 2, 3, 4, 5, 8 ... 25827165 =3D 49, 50, 51, 52, 53, 54 I doubt it, but maybe there's somebody here with more time and = brainpower to figure this out... If not, then this is why I would need = the EDS database of all possible combinations. Thanks! ck P.S. Why would somebody want your software? You're not going to claim = that it will help win the lottery, are you? CK, I've got every International and State lottery (Past Picks) in a = database 8 megs and load times are very fast on my slow 233mhz. I'll be releasing my Commercial app this month... You can buy it for $40 US which will give you updates for all = Lotteries for 3 month after which time you can purchase 3 months at $10 or 12 mnths for $25..... =20 Euman ----- Original Message -----=20 From: CK Lester=20 To: EUforum=20 Sent: Thursday, April 05, 2001 12:33 Subject: A Big Ol' Database Can somebody tell me the results of this, as far=20 as resource usage, memory requirements, etc.: -- start proggiesequence = pickspicks =3D repeat( {0,0,0,0,0,0}, 25827165=20 )-- write this to an EDS database-- end proggie Thanks! ck P.S. The = number 25,827,165 is the number of=20 combinations available when picking six numbers from 54, which is the = Texas=20 Lottery's system. ------=_NextPart_000_0155_01C0BDD1.DD335FC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Euman,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I'm not interested in past picks. What = I want to do=20 is have a database of all possible combinations of 6 from 54. I'm = tracking this=20 primarily to prevent duplication in assignment of picks to various=20 entities.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Is there a formula I can use that will = convert a=20 number (1...25827165) to a corresponding, unique, set of = picks?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>For instance...</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>1 =3D 1, 2, 3, 4, 5, 6</FONT></DIV> <DIV><FONT face=3DArial size=3D2>2 =3D 1, 2, 3, 4, 5, 7</FONT></DIV> <DIV><FONT face=3DArial size=3D2>3 =3D 1, 2, 3, 4, 5, 8</FONT></DIV> <DIV><FONT face=3DArial size=3D2>...</FONT></DIV> <DIV><FONT face=3DArial size=3D2>25827165 =3D 49, 50, 51, 52, 53, = 54</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I doubt it, but maybe there's somebody = here with=20 more time and brainpower to figure this out... If not, then this is why = I would=20 need the EDS database of all possible combinations.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV> <DIV><FONT face=3DArial size=3D2>ck</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>P.S. Why would somebody want your = software? You're=20 not going to claim that it will help win the lottery, are = you?</FONT></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV><FONT face=3DArial size=3D2>CK, I've got every International and = State=20 lottery (Past Picks) in a database</FONT></DIV> <DIV><FONT face=3DArial size=3D2>8 megs and load times are very fast = on my slow=20 233mhz.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I'll be releasing my Commercial app = this=20 month...</FONT></DIV> <DIV><FONT face=3DArial size=3D2>You can buy it for $40 US which will = give you=20 updates for all Lotteries</FONT></DIV> <DIV><FONT face=3DArial size=3D2>for 3 month after which time you can = purchase 3=20 months at $10</FONT></DIV> <DIV><FONT face=3DArial size=3D2>or 12 mnths for $25.....</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV>Euman</DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; = MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A href=3D"mailto:cklester at yahoo.com" title=3Dcklester at yahoo.com>CK = Lester</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = href=3D"mailto:EUforum at topica.com"=20 title=3DEUforum at topica.com>EUforum</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, April 05, = 2001=20 12:33</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> A Big Ol' = Database</DIV><PRE></PRE><PRE><A = =3D"=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</PRE"><FONT= face=3DArial size=3D2><DIV><DIV><FONT face=3DArial size=3D2>Can = somebody tell me the results of this, as far=20 as resource usage, memory requirements, etc.:</FONT></DIV> <DIV><FONT = face=3DArial size=3D2>-- start proggie</FONT></DIV><DIV><FONT = face=3DArial size=3D2>sequence picks</FONT></DIV><DIV><FONT face=3DArial = size=3D2>picks =3D repeat( {0,0,0,0,0,0}, 25827165=20 )</FONT></DIV><DIV><FONT face=3DArial size=3D2>-- write this to an EDS = database</FONT></DIV><DIV><FONT face=3DArial size=3D2>-- end = proggie</FONT></DIV> <DIV><FONT face=3DArial = size=3D2>Thanks!</FONT></DIV> <DIV><FONT face=3DArial = size=3D2>ck</FONT></DIV> <DIV><FONT face=3DArial size=3D2>P.S. The = number 25,827,165 is the number of=20 combinations available when picking six numbers from 54, which is the = Texas=20 Lottery's = system.</FONT></DIV></FONT></DIV><PRE></A><PRE> </PRE></PRE></PRE></= ------=_NextPart_000_0155_01C0BDD1.DD335FC0--