AIME I 2026 (Problem 13)

For each nonnegative integer rr less than 502, define
Sr=m0(10000502m+r),S_r=\sum_{m\ge0}\binom{10000}{502m+r},
where (10000n)\binom{10000}{n} is defined to be 0 when n>10,000n>10,000. That is, SrS_r is the sum of all binomial coefficients of the form (10000k)\binom{10000}{k} for which 0k10,0000\le k\le10,000 and krk-r is a multiple of 502. Find the number of integers in the list S0,S1,S2,,S501S_0,S_1,S_2,\ldots,S_{501} that are multiples of the prime number 503.