Divisibility with Base 16

Number Theory Level pending

Let n = 1133557 7 16 n=11335577_{16} . Let S T S_T be defined as the set of all distinct base-16 numbers that are permutations of n n (for example, 13135757 13135757 , 13571357 13571357 , 11335577 11335577 and 77553311 77553311 are all part of S T S_T ). If an element in S T S_T (let's call it m m ) that satisfies the condition m n 0 ( m o d 10 ) m-n \equiv 0 \pmod{10} in base ten is also in the set S M S_M , find the last four digits of the sum of all values in S M S_M in base ten.

For example, 1313557 7 16 13135577_{16} would be in S M S_M because when both 1313557 7 16 13135577_{16} and n n are converted into base 10 ( 1 1 6 7 + 3 1 6 6 + + 7 1 6 1 + 7 1 6 0 1 \cdot 16^7 + 3 \cdot 16^6 + \ldots + 7 \cdot 16^1 + 7 \cdot 16^0 and 1 1 6 7 + 1 1 6 6 + + 7 1 6 1 + 7 1 6 0 1 \cdot 16^7 + 1 \cdot 16^6 + \ldots + 7 \cdot 16^1 + 7 \cdot 16^0 , respectively), the difference between these corresponding base-10 values is divisible by 10.


The answer is 9520.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...