Concatenation sum

Logic Level 3

The number 123456789 is concatenated 1729 times to form a certain number:

A=1234567891234567891234567891729 (123456789)’sA = \underbrace{\overline{123456789123456789\dots 123456789}}_{\text{1729 } (123456789)\text{'s}}

Similarly, the number 987654321 is concatenated 1729 times to form another certain number:

B=9876543219876543219876543211729 (987654321)’sB=\underbrace{\overline{987654321987654321\dots 987654321}}_{\text{1729 } (987654321)\text{'s}}

If A+B=CA+B = C, find the sum of digits of CC.

Bonus: Generalize this.


Problem Loading...

Note Loading...

Set Loading...