Hello all

I would like to find an algorithm to caclulate all options on the

following problem.

Lets suppose we have a room of max capacity of 4 persons.

Which are the combinations of man - child in this room?

some of them will be:

empty room (none inside)

1 man

1 child

2 men

2 children

2 men 1 children

2 men 2 children

.

.

4 men

4 children

I appreciate your help