{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Find the number of permutations $x_1, x_2, x_3, x_4, x_5, x_6$ of numbers $1, 2, 3, 4, 5, 6$ such that the sum of six products \[ x_1x_2x_3 + x_2x_3x_4 + x_3x_4x_5 + x_4x_5x_6 + x_5x_6x_1 + x_6x_1x_2 \] is divisible by $3$.
A product is nonzero only if its three cyclically consecutive positions avoid both zeros.
Casework on the positions of $3$ and $6$ around the $6$-cycle (adjacent, at distance $2$, or opposite), then on the residues placed in the remaining spots, gives $336$ permutations (confirmed by enumerating all $720$).