Seven people enter a lift. The lift stops only at three floors (which are unspecified). At each of the three floors, no one enters the lift, but at least one person leaves the lift. After the three floor stops, the lift is empty. In how many ways this can happen?
1806
Each person chooses the stop at which he or she leaves, and every one of the three stops must receive at least one person. The count is therefore the number of onto (surjective) functions from a 7-element set of people to a 3-element set of stops, obtained by inclusion-exclusion.
Step 1 — Without restriction every person has 3 choices: \(3^{7} = 2187\).
Step 2 — Remove assignments in which some stop gets nobody: \(\binom{3}{1}2^{7} = 384\).
Step 3 — Add back assignments in which two stops get nobody (subtracted twice): \(\binom{3}{2}1^{7} = 3\).
Step 4 — Onto functions: \(2187 - 384 + 3 = 1806\), which also equals \(3!\,S(7,3) = 6 \times 301\).
2187 counts assignments where a stop may be empty, 343 = 73 reverses the roles of people and stops, and 1844 does not arise from any correct inclusion-exclusion count.
1806 option is correct.
The following figure is made with nine squares of length 1 cm each.

A student is standing at point P. The total number of shortest paths to reach point Q from point P, if the student walks along the boundaries of the squares only, is:
Consider the following statements (all the angles are measured in degrees) :
1. If two supplementary angles are $4x + 40$ and $10x$, then $x$ is;
2. The complementary angle of $\frac{4}{5} \times 45$ is :
3. If two complementary angles are in the ratio of $4 : 5$, then the smallest angle is :
Which of the following is correct?
Codes:
1 2 3
A rectangular wall is divided into four squares of equal size where there are two rows each having two squares. The top left square is coloured with green. If, including green, there are three colours available and each square is coloured using any one of these three colours such that no two adjacent squares get painted with the same colour; then how many colour combinations are possible ?