Multiplication Magic

Given any 3 digit number you can use the given digits and name another number which is divisible by 37 (e.g. given 628 you say 628371 is divisible by 37 because you know that 6+3 = 2+7 = 8+1 = 9). The question asks you to explain the trick.
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem



Here is something to try on your friends.

Ask a friend for a three digit number and suppose she says 314 then you immediately echo her number in your reply "Did you know that 241314 is exactly divisible by 37?"

Another friend gives 628 and you say "Amazing, 628371 is exactly divisible by 37 as well!"

When they check they find you are correct.

In general if the friend gives the number $abc$ you give $abcdef$ or $defabc$ where $a+d = b+e = c+f = x$ where $1 \leq x \leq 9$.

Why does this work?

You can even do the same trick with nine digit numbers. Your friend suggests 143 and you say, immediately "Another multiple of 37 is 143110635!"

You use exactly the same technique. Take your friend's number and think of two more three digit numbers such that the sum of the first digits, the sum of the second digits and the sum of the third digits are all the same.

Explain why the trick works for nine digit numbers.