Problem:
Find the number of permutations x1β,x2β,x3β,x4β,x5β of numbers 1,2,3,4,5 such that the sum of five products
x1βx2βx3β+x2βx3βx4β+x3βx4βx5β+x4βx5βx1β+x5βx1βx2β
is divisible by 3.
Solution:
Answer (080):
Because the given condition is cyclic, it is sufficient to count the number of permutations satisfying the condition with x1β=3 and then multiply the result by 5 . Under this additional condition,
x1βx2βx3β+x2βx3βx4β+x3βx4βx5β+x4βx5βx1β+x5βx1βx2ββ‘x3βx4β(x2β+x5β)β‘(mod3).
Because neither x3β nor x4β is a multiple of 3 , it is necessary and sufficient for x2β+x5β to be a multiple of 3 . From the remaining numbers, there are two that are congruent to 1(mod3) and two that are congruent to 2(mod3). Hence there are 4 choices for x2β,2 choices for x5β given x2β,2 choices for x3β, leaving one choice for x4β for a total of 4β
2β
2=16 choices.
Hence there are 5β
16=80 permutations satisfying the given condition.
The problems and solutions on this page are the property of the MAA's American Mathematics Competitions