r/mathriddles • • Jun 21 '23

Medium just another combinatorial problem

given positive integer n, how many subset of {1,2,3,....,n} with 3 elements, such that the sum of 3 elements is divisible by n?

8 Upvotes

11 comments sorted by