Math CentralQuandaries & Queries


Subject: combinations
Name: Zahid
Who are you: Student

Hi my name is zahid and i have a question.
How can i find the combinations of 5digits till 50!. Without any repeating numbers.
For e.g 1,2,3,4,5 that's one 7,8,9,10,11 that another one. There might be case of getting 1,45,47,22,7 . How can i find ALL the combinations of 5digits till 50?

Thank you


I can show you how to count how many there are. That should convince you that you don't want to list them all. First you have said combination so I am going to assume that order is not important, that is 1,2,3,4,5 and 2,3,4,5,1 are the same combination.

The number of ways of choosing p things from n things is called n choose p and is given by

n choose p

You want to choose 5 things from 50 things so that's

50 choose 5

If order is important then there are 5! times that many.


About Math Central


Math Central is supported by the University of Regina and The Pacific Institute for the Mathematical Sciences.
Quandaries & Queries page Home page University of Regina PIMS