For any finite sequence , denote by the number of ordered index pairs for which and . Let be an odd prime, , and let and be arbitrary residue classes modulo . Prove that there exists a permutation of the indices for which
, 2018
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.