Hi Everyone.
Now I'm wondering about how many different ways of choosing K( K <= 1000 ; K <= N) numbers from 0 until N-1 such that the sum is divisible by N ( N <= 10^9).
Any advice?
Thank you.
help on a problem
Hi Everyone.
Now I'm wondering about how many different ways of choosing K( K <= 1000 ; K <= N) numbers from 0 until N-1 such that the sum is divisible by N ( N <= 10^9).
Any advice?
Thank you.