Processing math: 100%

Problem #280

777 Strikes Again

Given N = 777...777 (19 digits) . Find the number of values r\ (0 \leq r \leq N) such that ^{N}C_{r} is divisible by 31 . Since the number of such values can be huge, compute the answer modulo \left(10^9 + 7 \right)

Contributed by Aryan Bidani

Solved by 18 users

Log in to submit answers.

Is something wrong?

Maintaining a collection of high quality questions is our top priority. If, however, you do find an error, report the problem and we'll make sure it is reviewed soon.