gaaboard.com

Non GAA Discussion => General discussion => Topic started by: Bogball XV on July 04, 2007, 11:12:07 AM

Title: One for the mathematical genuises out there!!
Post by: Bogball XV on July 04, 2007, 11:12:07 AM
Okay lads,
I have 50 numbers, I need to know how to calculate every possible combination of these 50 numbers - obviously there are quite a few combinations, so I'm presuming that there must be some software out there that can do this for me - anyone got any suggestions?
Title: Re: One for the mathematical genuises out there!!
Post by: girt_giggler on July 04, 2007, 11:20:42 AM
pen paper trial error
Title: Re: One for the mathematical genuises out there!!
Post by: Gnevin on July 04, 2007, 11:23:44 AM
Quote from: Bogball XV on July 04, 2007, 11:12:07 AM
Okay lads,
I have 50 numbers, I need to know how to calculate every possible combination of these 50 numbers - obviously there are quite a few combinations, so I'm presuming that there must be some software out there that can do this for me - anyone got any suggestions?
Do you want to know about many combinations there are if so get a scientific calculator and hit the NPC button , which gives you combinations .
Title: Re: One for the mathematical genuises out there!!
Post by: Bogball XV on July 04, 2007, 11:28:02 AM
Quote from: girt_giggler on July 04, 2007, 11:20:42 AM
pen paper trial error
Cheers, but I've been trying that for a while now - not getting anywhere!!  It's not as stipid as it sounds, as theoretically I can eliminate quite a few of the combinations, unfortunately, theoretically ain't working anymore!!
Quote from: Gnevin on July 04, 2007, 11:23:44 AM
Quote from: Bogball XV on July 04, 2007, 11:12:07 AM
Okay lads,
I have 50 numbers, I need to know how to calculate every possible combination of these 50 numbers - obviously there are quite a few combinations, so I'm presuming that there must be some software out there that can do this for me - anyone got any suggestions?
Do you want to know about many combinations there are if so get a scientific calculator and hit the NPC button , which gives you combinations .
It's not the number of combinations I need, but some fecker who work them all out for me - but thanks all the same!
Title: Re: One for the mathematical genuises out there!!
Post by: thewobbler on July 04, 2007, 11:45:28 AM
Seeing as there are 49 numbers in the British lotto and the odds of winning that are 1 in 13,983,816.  You could use that as a starting point.
Title: Re: One for the mathematical genuises out there!!
Post by: Gnevin on July 04, 2007, 12:04:22 PM
Quote from: Bogball XV on July 04, 2007, 11:28:02 AM
Quote from: girt_giggler on July 04, 2007, 11:20:42 AM
pen paper trial error
Cheers, but I've been trying that for a while now - not getting anywhere!!  It's not as stipid as it sounds, as theoretically I can eliminate quite a few of the combinations, unfortunately, theoretically ain't working anymore!!
Quote from: Gnevin on July 04, 2007, 11:23:44 AM
Quote from: Bogball XV on July 04, 2007, 11:12:07 AM
Okay lads,
I have 50 numbers, I need to know how to calculate every possible combination of these 50 numbers - obviously there are quite a few combinations, so I'm presuming that there must be some software out there that can do this for me - anyone got any suggestions?
Do you want to know about many combinations there are if so get a scientific calculator and hit the NPC button , which gives you combinations .
It's not the number of combinations I need, but some fecker who work them all out for me - but thanks all the same!
I could properly throw something together in .net for you but as someone says their over 13 million i don't think the pc could handle that
Title: Re: One for the mathematical genuises out there!!
Post by: Bogball XV on July 04, 2007, 12:22:27 PM
Quote from: Gnevin on July 04, 2007, 12:04:22 PM
Quote from: Bogball XV on July 04, 2007, 11:28:02 AM
Quote from: girt_giggler on July 04, 2007, 11:20:42 AM
pen paper trial error
Cheers, but I've been trying that for a while now - not getting anywhere!!  It's not as stipid as it sounds, as theoretically I can eliminate quite a few of the combinations, unfortunately, theoretically ain't working anymore!!
Quote from: Gnevin on July 04, 2007, 11:23:44 AM
Quote from: Bogball XV on July 04, 2007, 11:12:07 AM
Okay lads,
I have 50 numbers, I need to know how to calculate every possible combination of these 50 numbers - obviously there are quite a few combinations, so I'm presuming that there must be some software out there that can do this for me - anyone got any suggestions?
Do you want to know about many combinations there are if so get a scientific calculator and hit the NPC button , which gives you combinations .
It's not the number of combinations I need, but some fecker who work them all out for me - but thanks all the same!
I could properly throw something together in .net for you but as someone says their over 13 million i don't think the pc could handle that
Anything, would be a help, I can actually eliminate quite a few combinations, I reckon I actually have only a few thousand at this stage - that's assuming that I have eliminated numbers correctly at this stage, as hopefully, I've been able to get rid of approx 30 - 40 of the numbers.
Title: Re: One for the mathematical genuises out there!!
Post by: nifan on July 04, 2007, 12:25:03 PM
what are you trying to do?
do you need cominations or permutations (ie does 1 2 3 = 3 2 1 or not?)
Title: Re: One for the mathematical genuises out there!!
Post by: Gnevin on July 04, 2007, 12:29:31 PM
Quote from: Bogball XV on July 04, 2007, 12:22:27 PM
Quote from: Gnevin on July 04, 2007, 12:04:22 PM
Quote from: Bogball XV on July 04, 2007, 11:28:02 AM
Quote from: girt_giggler on July 04, 2007, 11:20:42 AM
pen paper trial error
Cheers, but I've been trying that for a while now - not getting anywhere!!  It's not as stipid as it sounds, as theoretically I can eliminate quite a few of the combinations, unfortunately, theoretically ain't working anymore!!
Quote from: Gnevin on July 04, 2007, 11:23:44 AM
Quote from: Bogball XV on July 04, 2007, 11:12:07 AM
Okay lads,
I have 50 numbers, I need to know how to calculate every possible combination of these 50 numbers - obviously there are quite a few combinations, so I'm presuming that there must be some software out there that can do this for me - anyone got any suggestions?
Do you want to know about many combinations there are if so get a scientific calculator and hit the NPC button , which gives you combinations .
It's not the number of combinations I need, but some fecker who work them all out for me - but thanks all the same!
I could properly throw something together in .net for you but as someone says their over 13 million i don't think the pc could handle that
Anything, would be a help, I can actually eliminate quite a few combinations, I reckon I actually have only a few thousand at this stage - that's assuming that I have eliminated numbers correctly at this stage, as hopefully, I've been able to get rid of approx 30 - 40 of the numbers.
How many are you picking eg 50 pick 40 or ?
Title: Re: One for the mathematical genuises out there!!
Post by: Bogball XV on July 04, 2007, 12:34:52 PM
Essentially I have 50 numbers, a combination of some of the numbers within those 50 numbers equals an end value that I have to arrive at.  I do not know how many of the numbers are included in the combination, but if I were able to calculate all the combinations that arrive at my end number, I could determine what the correct combination is - not sure if this is making sense.
Essentially, pretend I have the following:
20, 30, 45, 77, 68, 98, 43.50, 52.5, 67.9
I know that a combination of some of those numbers gives me 245.5 - but I don't know which of the numbers gives me that, or how many of those numbers have been combined to give me that total - obviously in this example it's quite simple, mine has quite a few more possible combinations - and I'm not particularly mathematical.
Title: Re: One for the mathematical genuises out there!!
Post by: Bogball XV on July 04, 2007, 12:37:58 PM
Quote from: Gnevin on July 04, 2007, 12:29:31 PMHow many are you picking eg 50 pick 40 or ?
I would say that I have 23 numbers that I can't definitively eliminate - one combination of some of those 23 numbers should be a direct hit for the value I need (which I know, obviously).
Title: Re: One for the mathematical genuises out there!!
Post by: Square Ball on July 04, 2007, 04:56:13 PM
is it 50x49x48x47..........x2x1

a hell od a lot of combinations me thinks
Title: Re: One for the mathematical genuises out there!!
Post by: armaghniac on July 04, 2007, 05:01:20 PM
I can't quite see what the question here is exactly. You have 50 numbers you can use, some number of these add up to something, how many can you use, or can you use as many as you want.

Write a computer program and simulate it.
Title: Re: One for the mathematical genuises out there!!
Post by: shotstopper1 on July 04, 2007, 05:09:33 PM
Quote from: Square Ball on July 04, 2007, 04:56:13 PM
is it 50x49x48x47..........x2x1

a hell od a lot of combinations me thinks

That would be permutations I think,

Combinations would be like the Lotto eg 6 numbers outta 49. This is worked out by multiplying 49x48x47x46x45x44 and dividing the answer by the sum of 6x5x4x3x2x1

I still don't think this is what Bogball is trying to get at, it seems he has a total but in some way needs numbers to make up that total, and  by his example he's using up to one decimal place.
Title: Re: One for the mathematical genuises out there!!
Post by: nifan on July 04, 2007, 05:59:33 PM
list the numbers and the desired solution bogball
Title: Re: One for the mathematical genuises out there!!
Post by: Bogball XV on July 04, 2007, 08:31:00 PM
Cheers all, I found a visual basic programme on the net (an excel language), between my own eliminations and that I was able change it around a bit to suit my needs, I was able to reduce the variable numbers to 16 - the VB programme was able to calculate all the possible combinations for those 16 and I was able to get sorted.
Thanks again.
Title: Re: One for the mathematical genuises out there!!
Post by: lynchbhoy on July 04, 2007, 10:18:21 PM
take some sleeping tablets and get a life Bogball !  :D

heading up this weekend?
Title: Re: One for the mathematical genuises out there!!
Post by: Bogball XV on July 04, 2007, 11:04:09 PM
Quote from: lynchbhoy on July 04, 2007, 10:18:21 PM
take some sleeping tablets and get a life Bogball !  :D

heading up this weekend?
Not to worry, wasn't for pleasure.
Re the weekend, probably not going up as I hear there's not much point - but I might anyway.
Title: A real nice proof
Post by: Orior on July 05, 2007, 12:27:57 AM
Proof that 1 = 0.9999999....

Consider that 1/3 = 0.333333....

then multiply each side by 3

3 * 1/3 = 3 * 0.333333...

and so, hey presto!

1 = 0.99999....

Q.E.D.
Title: Re: One for the mathematical genuises out there!!
Post by: FL/MAYO on July 05, 2007, 01:33:45 AM
34 X 4 =136 probably wrong though
Title: Re: One for the mathematical genuises out there!!
Post by: ONeill on July 05, 2007, 07:52:20 AM
There's a TV crowd out there who deal with these types of problems Bogball and I've never known them to fail. They're called Numberjacks. If you email them I guarantee you they'll sort you out: http://www.bbc.co.uk/cbeebies/grownups/about_cbeebies/shows/numberjacks_about.shtml
Title: Re: One for the mathematical genuises out there!!
Post by: phpearse on July 05, 2007, 08:22:36 AM
ever try beatin' nails into a metal plate FL/Mayo
Title: Re: One for the mathematical genuises out there!!
Post by: Hound on July 05, 2007, 08:26:55 AM
Quote from: phpearse on July 05, 2007, 08:22:36 AM
ever try beatin' nails into a metal plate FL/Mayo
;D

In any event the answer would be 132

34x2 + 32x2

only count the corner nails once


Bogball - well done on finding your answer, but you made some ballix of explaining whatever the question was!
Title: Re: One for the mathematical genuises out there!!
Post by: Bogball XV on July 05, 2007, 08:59:31 AM
Quote from: ONeill on July 05, 2007, 07:52:20 AM
There's a TV crowd out there who deal with these types of problems Bogball and I've never known them to fail. They're called Numberjacks. If you email them I guarantee you they'll sort you out: http://www.bbc.co.uk/cbeebies/grownups/about_cbeebies/shows/numberjacks_about.shtml
That could have saved me 3 days work!!
Quote from: Hound on July 05, 2007, 08:26:55 AM
Bogball - well done on finding your answer, but you made some ballix of explaining whatever the question was!
That's the problem with trying to get subbies in to do your work - you can't let them see the full picture (or else they'd be running off with the full job at half the price).