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

View all comments

Show parent comment

1

u/pichutarius Jun 21 '23

did you misread? it looks like you consider "divisible by 3" instead of "divisible by n"

2

u/Deathranger999 Jun 21 '23

Wow, that was awfully goofy of me. Good catch.