+ 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.

17th May 2018, 9:20 PM
Heisenberg
Heisenberg - avatar
1 Réponse
0
Here you are. Python version. it needs time to solve the problem https://code.sololearn.com/cof8d3idf04d/?ref=app
18th May 2018, 1:44 AM
Manuel Soto
Manuel Soto - avatar