Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > General > Chit Chat
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Chit Chat The place for open discussions.

Lotto Program?

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 10-12-2009, 02:48 PM
ExcludeReality's Avatar
Senior Member
 
Join Date: Nov 2008
Location: Greenville, South Carolina
Posts: 166
Default

I have no faith you can create a "lotto predictor".
The advanced math and understanding of algorithms used by the lottery is NOT something you wanna bet money on.

Nevertheless, I hope you will try, and present you result.

Some information:
PowerBall lottery software
BBC News - How to win the lottery
The Wikipedia Article might also help.

Best of luck.
__________________
Codito, ergo sum
"I code, therefore I am"
Reply With Quote
  #12 (permalink)  
Old 10-12-2009, 04:00 PM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default

Hi ExcludeR....

The suggestion that I made was more of a joke than anything else. The is no way that one can predict the outcome of a lotto draw. But what I am suggesting as a programming excerise is to come up with something that, like Gableguy said, take some of those zeros away!

I am fairly busy with my surveying program and also work in the field, but I will make some time to come up with a program, which I will post on the forum.

Thanks
Michael
Reply With Quote
  #13 (permalink)  
Old 10-12-2009, 06:54 PM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default

Hi Gableguy

Forget about all the complicated mathematical formula and probability theory to predict a winning draw.

Listen to my logic, maybe I am talking rubbish, but please listen and comment.

Lets look at nature. There is always a tendency in Nature to balance everything. If it is hot outside the house and cool inside, then when you open the windows, Nature will balance the hot air outside the house with the cool air inside the house.

When you flip a coin a thousand times, then you will get equal heads and equal tails. The same logic must apply with the 49 numbers in a Lotto draw. Nature dictates that over time all the 49 numbers will get equal draws.

Now here is my proposal. If one goes back in the history of all the winning numbers of a specific Lotto game, then one should have a look at the numbers that have come up the least. Say all the numbers in 100 draws come up, except the number "1". Now according to the laws of Nature, the number "1" should have the biggest chance of being drawn the next time.

What do you think?

Thanks
Michael
Reply With Quote
  #14 (permalink)  
Old 10-12-2009, 08:23 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 585
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Lets look at nature. There is always a tendency in Nature to balance everything. If it is hot outside the house and cool inside, then when you open the windows, Nature will balance the hot air outside the house with the cool air inside the house.
I think you got that the wrong way round
Nature will alter the air inside with the outside

Add time into the equation.

Numbers1-49 * TimesAppeared / TimeSpanBasedOn = WinningNumbers

But what value is TimeSpanBasedOn. I think it's infinate, so a certain number
may only be picked every ? weeks/months/years/decades/century's.

How about creating a prediction program that uses the 'strangest' prediction theory, just for a laugh of course.

Perhaps base it on a division of the last days temperature etc

I'm all for a bit of a laugh and will give this a 'thunk'. (Don't ask !!)
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #15 (permalink)  
Old 10-12-2009, 08:27 PM
ExcludeReality's Avatar
Senior Member
 
Join Date: Nov 2008
Location: Greenville, South Carolina
Posts: 166
Default

Quote:
Originally Posted by ceaser View Post
There is always a tendency in Nature to balance everything.
You are referring to the "Balance of Nature" theory.
This is an ancient theory that states the following:
For every change in construct or quantity there is a equal feedback of analogy.

This is often regarded as a pseudo-scientific fallacy, and personally I do not see how it relates to winning the lottery

Quote:
When you flip a coin a thousand times, then you will get equal heads and equal tails.
Yes, but this only applies if you flip the coin one side at a time.
Then there would be a pattern.
Even if the coin is flipped randomly, there is still a pattern, but much harder to follow.

Every lottery number has a pattern that can unveil it, but the data required is too big for a human to process.

Quote:
Say all the numbers in 100 draws come up, except the number "1". Now according to the laws of Nature, the number "1" should have the biggest chance of being drawn the next time.
First of all, do not involve the laws of nature into this.
Every number has a (relatively) equal chance of being drawn, regardless of it's previous frequency.

In one way, the balance of nature is a paradox.
If all numbers would be drawn equally, then there is no room for numbers not being drawn at all.
There is also not room for number in it self, since they are different.

Perhaps there is a way to "take some of those zeros away!", but the odds are still so bad that
you do not want to risk you money on a home-brewed lottery predictor.

Hope I'm not being to serious
__________________
Codito, ergo sum
"I code, therefore I am"
Reply With Quote
  #16 (permalink)  
Old 10-12-2009, 08:29 PM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default

Taximania...........
Reply With Quote
  #17 (permalink)  
Old 10-12-2009, 08:34 PM
ceaser's Avatar
Basic4ppc Veteran
 
Join Date: May 2008
Location: Paarl, South Africa
Posts: 306
Default

I think I will stick to my Surveying Program
Reply With Quote
  #18 (permalink)  
Old 10-13-2009, 01:19 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,313
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

A Maths GURU would say that there is NO real Ramdomization in any of the hazard games around the world, What THERE IS is a safe enought way to ensure that the possability of a winner is reduced to a degree, making the draft VIRTUALLY random.

So I agree with Ceaser, given enought time all numbers wil be drawn an fairly equal amount of times...
I also agree that if a given number has been drawn a more significant amount of times thatn another, then why not chose it again?

So I propose that OUR formula shoul contemplate the more often drawn, and the least ones, leaving the ones with an average amount of draws aside...
Of course this may/will alter along time....
I WILL NOT QUIT ON THIS....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
B4PPC DLL Version Listing - B4Android DLL Version Listing
Reply With Quote
  #19 (permalink)  
Old 10-13-2009, 02:49 PM
ExcludeReality's Avatar
Senior Member
 
Join Date: Nov 2008
Location: Greenville, South Carolina
Posts: 166
Default

Quote:
Originally Posted by Cableguy View Post
So I propose that OUR formula shoul contemplate the more often drawn, and the least ones, leaving the ones with an average amount of draws aside...
So the entire engine will be based on a concept that "nature" tends to balance things out.
Meaning all the numbers would be drawn an equal amount of times.

If that's the case, the formula for finding the numbers would be way to simple.
Millions of people would have had this idea.

In my honest opinion, I don't see how you would approach this problem.
It seems that the futile odds are about as close as you will get.

It's just too, well, random...
__________________
Codito, ergo sum
"I code, therefore I am"
Reply With Quote
  #20 (permalink)  
Old 10-15-2009, 01:49 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 269
Awards Showcase
Beta Tester 
Total Awards: 1
Default

We have the 'Lotto' in England. Its choose 6 from 49 for the jackpot and various other combinations down to £10 for three numbers. There is apparantly a 14.7m to one chance of attaining the jackpot.

One prediction of the Lotto I make with absolute certainty - if you don't enter; you will have no chance.

So I place a couple of pound each week and maybe, just maybe, it may come good for me one day. If so, I'd probably pay Erel Enterprise lisence rates for a standard one
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0