SolitaryRoad.com

Website owner:  James Miller


[ Home ] [ Up ] [ Info ] [ Mail ]

A systematic procedure for finding all combinations of n objects taken r at a time


The following is a systematic procedure for finding and listing all combinations of n objects taken r at a time:


Step 1. Number the objects — give them numbers from 1 to n. This reduces the problem to that of finding all combinations of the integers 1, 2 ... , n, taken r at a time.


Step 2. Compute the number of combinations there will be from the formula



                         ole.gif


Step 3. Start with the combination 123...r. From there start listing easy and obvious combinations as in the following example.


Example. Find all combinations of integers 1, 2, 3, 4, 5 taken 3 at a time. The number of combinations will be nCr = 5C3 = 5!/2!3! = 10. Starting with the combination 123 we write:


123

124

125

134

135

145


Now that we have six easy combinations written down we utilize the following theorem to find the remaining four combinations.


Theorem 1. In the final list of combinations all integers will occur the same number of times.


In the above example the full list of combinations happens to be


123

124

125

134

135

145

234

235

245

345


Let us count the number of times the number 1 occurs in the list, the number of times the number 2 occurs in the list, the number of times the number 3 occurs in the list, etc. If we do this we will discover that the number 1 occurs 6 times, the number 2 occurs 6 times, etc. Each of the numbers 1 - 5 occurs six times in the list. We use this fact in trying to figure out what the remaining combinations are. Returning now to our example we have the following combinations


123

124

125

134

135

145


and want to figure out what the others are. We note that 1 occurs six times, 2 occurs three times, 3 occurs three times, 4 occurs three times and 5 occurs three times. If 1 occurs 6 times, then all the others must occur at least 6 times in the final list. Let us now start writing some numbers starting with the digits 23. We write the numbers 234 and 235 to give


123

124

125

134

135

145

234

235


We count digits again and find now that 2 occurs 5 times, 3 occurs 5 times, 4 occurs 4 times, and 5 occurs 4 times. We have eight combinations with only two combinations remaining and this information gives us a good idea of what they are. Let us try the number 245. It is a valid combination that doesn’t appear elsewhere in the list. Now the only digits left are 3, 4, and 5 — which give us the last number. Thus we get the full list


123

124

125

134

135

145

234

235

245

345


When we write down the combinations we follow the practice of writing them in order of increasing magnitude of the integers i.e. we write a combination as 345 instead of as 543.


Observation of the pattern that the numbers follow in the above list can be helpful in helping us guess at combinations.



More from SolitaryRoad.com:

The Way of Truth and Life

God's message to the world

Jesus Christ and His Teachings

Words of Wisdom

Way of enlightenment, wisdom, and understanding

Way of true Christianity

America, a corrupt, depraved, shameless country

On integrity and the lack of it

The test of a person's Christianity is what he is

Who will go to heaven?

The superior person

On faith and works

Ninety five percent of the problems that most people have come from personal foolishness

Liberalism, socialism and the modern welfare state

The desire to harm, a motivation for conduct

The teaching is:

On modern intellectualism

On Homosexuality

On Self-sufficient Country Living, Homesteading

Principles for Living Life

Topically Arranged Proverbs, Precepts, Quotations. Common Sayings. Poor Richard's Almanac.

America has lost her way

The really big sins

Theory on the Formation of Character

Moral Perversion

You are what you eat

People are like radio tuners --- they pick out and listen to one wavelength and ignore the rest

Cause of Character Traits --- According to Aristotle

These things go together

Television

We are what we eat --- living under the discipline of a diet

Avoiding problems and trouble in life

Role of habit in formation of character

The True Christian

What is true Christianity?

Personal attributes of the true Christian

What determines a person's character?

Love of God and love of virtue are closely united

Walking a solitary road

Intellectual disparities among people and the power in good habits

Tools of Satan. Tactics and Tricks used by the Devil.

On responding to wrongs

Real Christian Faith

The Natural Way -- The Unnatural Way

Wisdom, Reason and Virtue are closely related

Knowledge is one thing, wisdom is another

My views on Christianity in America

The most important thing in life is understanding

Sizing up people

We are all examples --- for good or for bad

Television --- spiritual poison

The Prime Mover that decides "What We Are"

Where do our outlooks, attitudes and values come from?

Sin is serious business. The punishment for it is real. Hell is real.

Self-imposed discipline and regimentation

Achieving happiness in life --- a matter of the right strategies

Self-discipline

Self-control, self-restraint, self-discipline basic to so much in life

We are our habits

What creates moral character?


[ Home ] [ Up ] [ Info ] [ Mail ]