Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Dept store Quartermaster
 
lendaddy's Avatar
 
Join Date: Jul 2001
Location: I'm right here Tati
Posts: 19,858
math question, need help

I have forgotten how to figure this:

If you have a group of 39 numbers, how many unique seven number combinations are there within? And how do you figure it out?

__________________
Cornpoppin' Pony Soldier
Old 09-10-2007, 12:15 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Targa, Panamera Turbo
 
M.D. Holloway's Avatar
 
Join Date: Aug 2004
Location: Houston TX
Posts: 22,366
From Dr Math...

Here is a way to get the formula you asked for. Let's say there are N in all (so your question sets N equal to 7). List the combinations in increasing order, but to make things a little clearer, I will put an X every time you are finished listing all of one kind of number and go on to the next. For example, instead of

1 1 2 3 5 5 5

write

1 1 X 2 X 3 X X 5 5 5 X .

Notice there are 2 X's after the 3, or rather that there are
zero 4's between the third and fourth X. So now the list of
combinations begins like this:

1 1 1 1 1 1 1 X X X X X

1 1 1 1 1 1 X 2 X X X X

1 1 1 1 1 1 X X 3 X X X

1 1 1 1 1 1 X X X 4 X X

1 1 1 1 1 1 X X X X 5 X

1 1 1 1 1 1 X X X X X 6

1 1 1 1 1 X 2 2 X X X X

1 1 1 1 1 X 2 X 3 X X X

and so on. The useful thing about writing it this way is that
you can tell what the combination is merely by knowing the
positions of the five X's. In other words, there is a 1 to 1
correspondence between combinations of N dice and ways of
choosing 5 places to put an X out of a total of N+5 positions.
(Do you see why there are N+5 positions? In the above examples,
7 of the positions are filled by numbers and 5 get X's .) Now the
problem is easily solved: it is the binomial coefficient "N+5
choose 5", which is equal to:

(N+5) (N+4) (N+3) (N+2) (N+1) / 120 .

So for N=1 you get 6, for N=2 you get 21, for N=3 you get 56,
and so on.
__________________
Michael D. Holloway
https://simple.m.wikipedia.org/wiki/Michael_D._Holloway
https://5thorderindustry.com/
https://www.amazon.com/s?k=michael+d+holloway&crid=3AWD8RUVY3E2F&sprefix= michael+d+holloway%2Caps%2C136&ref=nb_sb_noss_1
Old 09-10-2007, 12:23 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Unfair and Unbalanced
 
Mule's Avatar
 
Join Date: Jul 2004
Location: From the misty mountains to the bayou country
Posts: 9,711
Len, you been slappin' the cratch too much (or not enough).
__________________
"SARAH'S INSIDE Obama's head!!!! He doesn't know whether to defacate or wind his watch!!!!" ~ Dennis Miller!
Old 09-10-2007, 12:25 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Dept store Quartermaster
 
lendaddy's Avatar
 
Join Date: Jul 2001
Location: I'm right here Tati
Posts: 19,858
Is there an answer in there and I missed it? It looks like a more difficult question than I started with
__________________
Cornpoppin' Pony Soldier
Old 09-10-2007, 12:28 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Un Chien Andalusia
 
Aerkuld's Avatar
 
Join Date: Oct 2006
Location: Bay Area, SF, CA
Posts: 2,679
Garage
Len - Do you mean that you have a set of 39 unique numbers (1 to 39), or that you have 39 numbers with multiples of the same number in the set (1,3,5,7,7,4,9,8,7,3,1,4,2,3,3,etc...)?
__________________
2002 996 Carrera - Seal Grey (Daily Driver / Track Car)
1964 Morris Mini - Former Finnish Rally Car
1987 911 Carrera Coupe - Carmine Red - SOLD :-(
1998 986 Boxster - Black - SOLD
1984 944 - Red - SOLD
Old 09-10-2007, 12:48 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Dept store Quartermaster
 
lendaddy's Avatar
 
Join Date: Jul 2001
Location: I'm right here Tati
Posts: 19,858
The numbers 1 through 39. Think of it as a lotto or keno set.
__________________
Cornpoppin' Pony Soldier
Old 09-10-2007, 12:49 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Un Chien Andalusia
 
Aerkuld's Avatar
 
Join Date: Oct 2006
Location: Bay Area, SF, CA
Posts: 2,679
Garage
Had to edit my answer when I read the post again, but with a set size = n, the combination size = k then:

Number of permutations (P)= n!/k!(n-k)!

Which is what jriera said below...

Where the ! denotes 'Factorial' which is the product of the number and all positive intergers below that number. So for 39! that would be 39x38x37xetc....x3x2x1
__________________
2002 996 Carrera - Seal Grey (Daily Driver / Track Car)
1964 Morris Mini - Former Finnish Rally Car
1987 911 Carrera Coupe - Carmine Red - SOLD :-(
1998 986 Boxster - Black - SOLD
1984 944 - Red - SOLD

Last edited by Aerkuld; 09-10-2007 at 01:10 PM..
Old 09-10-2007, 12:52 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Registered
 
jriera's Avatar
 
Join Date: Nov 2001
Location: Las Vegas, NV, USA
Posts: 1,587
Send a message via AIM to jriera Send a message via Yahoo to jriera
39!/(32!*7!) or 15.380.937 'unique' combinations (no repetitions)

The formula will be
n!
n_C_k = ---------- where n= 39 and k= 7 so
k!(n - k)!


39!
39_C_7 = ----------
7!(39 - 7)!
__________________
Jordi Riera
'84 930 (modified)

Last edited by jriera; 09-10-2007 at 01:05 PM..
Old 09-10-2007, 12:55 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Registered
 
Tim L's Avatar
 
Join Date: Jul 2001
Location: Hamden, CT, USA
Posts: 446
39*38*37*36*35*34*33 if you cant use the number over like 7,7,7,7,7,7,7 if you can it's 39**7
__________________
Tim Lynn
84 911 Carrera
PCA E Stock #278
Old 09-10-2007, 12:56 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
Occam's Razor
 
cmccuist's Avatar
 
Join Date: Jan 2002
Location: Lake Jackson, TX
Posts: 2,663
L-Daddy, try this.



where:

r is the size of each permutation,
n is the size of the set from which elements are permuted, and
! is the factorial operator.
For your example, n = 39 and r = 7.

So it would be 39!/(39-7)! = 39!/32!=77,519,922,478

If you can't use the numbers over again it's that mess divided by 7!

See jriera's post.
__________________
Craig
'82 930, '16 Ram, '17 F150
Old 09-10-2007, 01:08 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
Registered
 
jriera's Avatar
 
Join Date: Nov 2001
Location: Las Vegas, NV, USA
Posts: 1,587
Send a message via AIM to jriera Send a message via Yahoo to jriera
Thanks Craig, I was not able to find a nice jpeg with the formula, I try to write it 'old school' but I failed.
__________________
Jordi Riera
'84 930 (modified)
Old 09-10-2007, 01:16 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Back in the saddle again
 
masraum's Avatar
 
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 55,932
Quote:
Originally Posted by lendaddy View Post
I have forgotten how to figure this:

If you have a group of 39 numbers, how many unique seven number combinations are there within? And how do you figure it out?
Wish you had never asked now, don't you. Yeah, it's kind of a pain in the butt to figure out.
__________________
Steve
'08 Boxster RS60 Spyder #0099/1960
- never named a car before, but this is Charlotte.
'88 targa SOLD 2004 - gone but not forgotten
Old 09-10-2007, 01:21 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
 
Dept store Quartermaster
 
lendaddy's Avatar
 
Join Date: Jul 2001
Location: I'm right here Tati
Posts: 19,858
Thanks guys, you rock!

To answer the commo0n question, no you cannot use a number twice in a combination. So am I correct that Jordi (and others) had it correctly at 15,380,937?
__________________
Cornpoppin' Pony Soldier
Old 09-10-2007, 01:21 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
Dept store Quartermaster
 
lendaddy's Avatar
 
Join Date: Jul 2001
Location: I'm right here Tati
Posts: 19,858
Quote:
Originally Posted by cmccuist View Post
L-Daddy, try this.



where:

r is the size of each permutation,
n is the size of the set from which elements are permuted, and
! is the factorial operator.
For your example, n = 39 and r = 7.

So it would be 39!/(39-7)! = 39!/32!=77,519,922,478

If you can't use the numbers over again it's that mess divided by 7!

See jriera's post.
hmmm, I divided 77,519,922,478 by seven and got a different number than Jordi's. Now I'm confused again
__________________
Cornpoppin' Pony Soldier
Old 09-10-2007, 01:24 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #14 (permalink)
Registered
 
jriera's Avatar
 
Join Date: Nov 2001
Location: Las Vegas, NV, USA
Posts: 1,587
Send a message via AIM to jriera Send a message via Yahoo to jriera
because is not divided by 7 but rather by 7! (7 factorial or 5.040)
77519922478/5040=15380937

Permutations and Combinations are fun!!!
__________________
Jordi Riera
'84 930 (modified)

Last edited by jriera; 09-10-2007 at 01:33 PM..
Old 09-10-2007, 01:30 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #15 (permalink)
Dept store Quartermaster
 
lendaddy's Avatar
 
Join Date: Jul 2001
Location: I'm right here Tati
Posts: 19,858
Quote:
Originally Posted by jriera View Post
because is not divided by 7 but rather by 7! (7 factorial or 5.040)
77519922478/5040=15380937

Permutations and Combinations are fun!!!
Ahh, very cool. Thanks,
__________________
Cornpoppin' Pony Soldier
Old 09-10-2007, 01:43 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #16 (permalink)
Slumlord
 
Porsche_monkey's Avatar
 
Join Date: May 2001
Location: Canada
Posts: 4,983
I believe the answer is expressed as 39 choose 7, and as cmcuist said:

Now let's suppose we have 10 letters and want to make groupings of 4 letters. It's harder to list all those permutations. To find the number of four-letter permutations that we can make from 10 letters without repeated letters (10_P_4), we'd like to have a formula because there are 5040 such permutations and we don't want to write them all out!

For four-letter permutations, there are 10 possibilities for the first letter, 9 for the second, 8 for the third, and 7 for the last letter. We can find the total number of different four-letter permutations by multiplying 10 x 9 x 8 x 7 = 5040. This is part of a factorial (see note).

To arrive at 10 x 9 x 8 x 7, we need to divide 10 factorial (10 because there are ten objects) by (10-4) factorial (subtracting from the total number of objects from which we're choosing the number of objects in each permutation). You can see below that we can divide the numerator by 6 x 5 x 4 x 3 x 2 x 1:


10! 10! 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1
10_P_4 = ------- = ---- = --------------------------------------
(10 - 4)! 6! 6 x 5 x 4 x 3 x 2 x 1

= 10 x 9 x 8 x 7 = 5040

From this we can see that the more general formula for finding the number of permutations
Old 09-10-2007, 04:37 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #17 (permalink)
Banned
 
snowman's Avatar
 
Join Date: Feb 2003
Location: So California
Posts: 3,787
DUH!! I knew that.

Old 09-10-2007, 07:25 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #18 (permalink)
Reply


 


All times are GMT -8. The time now is 12:47 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.