Numerical puzzle, №2

Logic Level 2

19 × ( A B C D C B A + A B C B A + A B A + A ) = C B A B B D A A 19\times\left({\overline{\textcolor{#D61F06}{A}\textcolor{#20A900}{B}\textcolor{#3D99F6}{C}\textcolor{#EC7300}{D}\textcolor{#3D99F6}{C}\textcolor{#20A900}{B}\textcolor{#D61F06}{A}}+\overline{\textcolor{#D61F06}{A}\textcolor{#20A900}{B}\textcolor{#3D99F6}{C}\textcolor{#20A900}{B}\textcolor{#D61F06}{A}}+\overline{\textcolor{#D61F06}{A}\textcolor{#20A900}{B}\textcolor{#D61F06}{A}}+}\overline{\textcolor{#D61F06}{A}}\right) = \overline{\textcolor{#3D99F6}{C}\textcolor{#20A900}{B}\textcolor{#D61F06}{A}\textcolor{#20A900}{B}\textcolor{#20A900}{B}\textcolor{#EC7300}{D}\textcolor{#D61F06}{A}\textcolor{#D61F06}{A}} Find sum of digit of number C B A B B D A A \overline{\textcolor{#3D99F6}{C}\textcolor{#20A900}{B}\textcolor{#D61F06}{A}\textcolor{#20A900}{B}\textcolor{#20A900}{B}\textcolor{#EC7300}{D}\textcolor{#D61F06}{A}\textcolor{#D61F06}{A}} , where A , B , C , D \textcolor{#D61F06}{A},\textcolor{#20A900}{B},\textcolor{#3D99F6}{C},\textcolor{#EC7300}{D} are not necessarily distinct non-zero digits.


The answer is 20.

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.

3 solutions

Chris Lewis
Apr 26, 2019

Writing the numbers out in full (ie expanding the powers of ten for each digit) and rearranging, we get the somewhat daunting

3818393 A + 181714 B 1961240 C + 3780 D = 0 3818393A + 181714B - 1961240C + 3780D = 0

Firstly, let's look at the magnitudes of the coefficients. Only the coefficient of C C is comparable to the coefficient of A A ; if C 2 A C \neq 2A , there's no way to get close to zero using the other terms (remember that 1 A , B , C , D 9 1 \leq A,B,C,D \leq 9 ). So C = 2 A C=2A .

Now note that the coefficient of A A is the only odd one. This means that A A must be even (otherwise the total would be odd, and zero is not odd). So A = 2 k A=2k for some 1 k 4 1\le k \le4 , and C = 4 k C=4k (so in fact, k k is either 1 1 or 2 2 ; we could just check both cases here, but the magnitude trick works again).

Substituting in and simplifying, we get

90857 B + 1890 D 104087 k = 0 90857 B + 1890 D - 104087 k=0

By the same trick of looking at magnitudes, we see that B = k B=k . Substituting, simplifying:

D 7 k = 0 D-7k=0

So we must have k = 1 k=1 , ( A , B , C , D ) = ( 2 , 1 , 4 , 7 ) (A,B,C,D)=(2,1,4,7) (and checking, this does indeed work), leading to the digit sum of C B A B B D A A \overline{CBABBDAA} being 20 \boxed{20} .

A=2, B=1, C=4, D=7, sum of digits of CBABBDAA is 20

Yeah! I would like to see your solution.

Ilya Pavlyuchenko - 2 years, 1 month ago

Log in to reply

From the given identity, we get 3818393A+181714B+3780D=1961240C. This implies that A must be even. Starting with A=2, B has to be 1 or 6. For A=2 and B=1, D=(196124C-781850)/378. An integral solution of this is C=4 and D=7.

A Former Brilliant Member - 2 years, 1 month ago

Flatten [ Table [ If [ 19 ( FromDigits [ { a , b , c , d , c , b , a } ] + FromDigits [ { a , b , c , b , a } ] + FromDigits [ { a , b , a } ] + a ) = FromDigits [ { c , b , a , b , b , d , a , a } ] , Total [ { c , b , a , b , b , d , a , a } ] , Nothing ] , { a , 9 } , { b , 9 } , { c , 9 } , { d , 9 } ] ] [ [ 1 ] ] 20 \text{Flatten}[\text{Table}[\text{If}[19 (\text{FromDigits}[\{a,b,c,d,c,b,a\}]+\text{FromDigits}[\{a,b,c,b,a\}]+\text{FromDigits}[\{a,b,a\}]+a)=\text{FromDigits}[\{c,b,a,b,b,d,a,a\}], \\ \text{Total}[\{c,b,a,b,b,d,a,a\}],\text{Nothing}],\{a,9\},\{b,9\},\{c,9\},\{d,9\}]][[1]] \Rightarrow 20

Tried all 6561 possibilities, only 1 success, output the sum of digits as specified, 20. The Flatten function removes the failed cases and collapses the empty lists to nothing.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...