There are 48 possibilities where 2 of 5 items must be adjacent.
If you have 5 items, and they can be arranged in any order, there are 120
5 x 4 x 3 x 2 ways to arrange them, for example ABCDE, ABCED, and so forth.
However, if any two need to be placed next to each other, the number of variations is reduced to [4 x 3 x 2] x2 (=48), where there are only 4 separate "units" arranged, but the double-unit can appear with either of the pair first.
For example, if A and B must be together, you have 24 possibilities:
(AB)CDE
(AB)CED
(AB)DCE
(AB)DEC
(AB)EDC
(AB)ECD
C(AB)DE
C(AB)ED
D(AB)CE
D(AB)EC
E(AB)CD
E(AB)DC
CD(AB)E
DC(AB)E
CE(AB)D
EC(AB)D
DE(AB)C
ED(AB)C
CDE(AB)
CED(AB)
DEC(AB)
DCE(AB)
EDC(AB)
ECD(AB)
and another 24 where (AB) is replaced by (BA).
5
3 items (or people) can line up in 6 different sequences. 6 items (or people) can line up in 720 different sequences.
15C3 = 455
If you keep them in a line, there are 24 ways to line them up. Then of course there are squares, diamonds, rectangles, parallelograms, stacks, etc.
Factorials are used in combinatorial mathematics, which is a fancy term for a branch of mathematics that's used to answer questions like "how many different ways are there to arrange N items?" (Answer: N!) It turns out that using the formulas developed by combinatorial mathematics, the term 0! occasionally turns up, and in order to obtain the correct answer it's necessary to replace 0! with 1. Most obviously, there's no other way to arrange a "set" of zero items than to have ... um ... zero items, so the number of ways zero items can be arranged is 1, therefore 0! = 1.
35,280
5
3 items (or people) can line up in 6 different sequences. 6 items (or people) can line up in 720 different sequences.
The number of different ways that you can arrange 15 different items is given by the permutations of 15 things taken 15 at a time. That is 15 factorial, or 1,307,674,368,000.
15C3 = 455
7362 7363
you are arranging 70 plants in a rectangular garden with the same number in each row how many ways can you arrange the garden
It is elementary division.
1500 billion items are added daily
224,640
If you keep them in a line, there are 24 ways to line them up. Then of course there are squares, diamonds, rectangles, parallelograms, stacks, etc.
Factorials are used in combinatorial mathematics, which is a fancy term for a branch of mathematics that's used to answer questions like "how many different ways are there to arrange N items?" (Answer: N!) It turns out that using the formulas developed by combinatorial mathematics, the term 0! occasionally turns up, and in order to obtain the correct answer it's necessary to replace 0! with 1. Most obviously, there's no other way to arrange a "set" of zero items than to have ... um ... zero items, so the number of ways zero items can be arranged is 1, therefore 0! = 1.