1 9 × ( A B C D C B A + A B C B A + A B A + A ) = C B A B B D A A Find sum of digit of number C B A B B D A A , where A , B , C , D are not necessarily distinct non-zero digits.
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.
A=2, B=1, C=4, D=7, sum of digits of CBABBDAA is 20
Yeah! I would like to see your solution.
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.
Flatten [ Table [ If [ 1 9 ( 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 ] ] ⇒ 2 0
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.
Problem Loading...
Note Loading...
Set Loading...
Writing the numbers out in full (ie expanding the powers of ten for each digit) and rearranging, we get the somewhat daunting
3 8 1 8 3 9 3 A + 1 8 1 7 1 4 B − 1 9 6 1 2 4 0 C + 3 7 8 0 D = 0
Firstly, let's look at the magnitudes of the coefficients. Only the coefficient of C is comparable to the coefficient of A ; if C = 2 A , there's no way to get close to zero using the other terms (remember that 1 ≤ A , B , C , D ≤ 9 ). So C = 2 A .
Now note that the coefficient of A is the only odd one. This means that A must be even (otherwise the total would be odd, and zero is not odd). So A = 2 k for some 1 ≤ k ≤ 4 , and C = 4 k (so in fact, k is either 1 or 2 ; we could just check both cases here, but the magnitude trick works again).
Substituting in and simplifying, we get
9 0 8 5 7 B + 1 8 9 0 D − 1 0 4 0 8 7 k = 0
By the same trick of looking at magnitudes, we see that B = k . Substituting, simplifying:
D − 7 k = 0
So we must have k = 1 , ( 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 being 2 0 .