+ 2
This problem is hot, really hot without computers
Can you write a program to find the number of ordered 64-tuples {a1,a2,...,a64} such that a1,a2,...,a64 are distinct elements of {1,2,...,2017} and (a1+a2+...+a64) is divisible by 2017? Note: this problem is really hard to solve without computers.
1 ответ
0
Here you are. Python version. it needs time to solve the problem
https://code.sololearn.com/cof8d3idf04d/?ref=app