## Revision of Techniques for counting from Sat, 18/04/2009 - 19:19 This article is a stub.This means that it cannot be considered to contain or lead to any mathematically interesting information.

### Quick description

Counting techniques loosely go under the name of combinatorics. Counting the Total Number of things is called enumerative combinatorics, while counting the maximum, minimum, or minimally sufficient number of things goes by the name of Extremal Combinatorics. Trivial examples are counting the number of ways to roll "18" on four 6-sided die, counting the number of ways to obtain a full house when playing poker with a standard deck, or counting the number of ways to distribute 17 doughnuts of different types to 5 people.

### Prerequisites

Algebra (see General Discussion)

### Example 1

1. Let's say I roll 6 dice. What is the probability I roll the number ?

2. Counting the number of ways to order 8 couples around a (round) table such that no couple is sitting together.

3. Counting the number of ways to write the integer as the sum of positive integers (e.g. or ).

4. Counting the number of strings of length 8 that can be made from the letters , , and , such that no string has more than two repeating letters (in a row.)

5. Finding the largest integer not of the form where are non-negative integers.

6. Counting the number of ways to color a graph with colors.

7. Counting the maximum number of edges in a graph that does not have a clique of order .

### General discussion

Combinatorics is a field of applied mathematics that can be approached in numerous ways. The standard introduction requires a basic knowledge of algebra, including the factorial function. For a more advanced introduction that may use recurrence relations, basic linear algebra could be useful. Advanced combinatorial tricks tend to use generating functions to transform a recurrence equation into an algebraic or differential equation, and then solve those.

If you are looking to learn how to solve certain problems, see the Combinatorics front page. Otherwise the techniques below should help to serve your purposes.

[TECHNIQUES]

### Not sure where to link to (Counting)

If you know there's an article on any of the tricks linked to in the "Techniques" section, please edit the text so it goes to the right article. Thanks!