Mr and Mrs Tan's only daughter

Logic Level 4

D A R R E N + D O R R A B R E N D A \large{\begin{array}{c}&&&D&A&R&R&E&N \\ &+&&D&O&R&R&A \\ \hline && B&R&E&N&D&A \end{array}}

Darren and Dorra are the names of Brenda's father and mother respectively. If every letter in the above cryptogram represents a distinct non-negative single digit number. Compute the 6-digit integer B R E N D A \overline{BRENDA} .


The answer is 953086.

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.

2 solutions

Noel Lo
Jan 2, 2016

Observe in the rightmost column that N+A=A. There is no carry over so we can safely conclude from here that N=0. We have D A R R E 0 \overline{DARRE0} + D O R R A \overline{DORRA} = B R E 0 D A \overline{BRE0DA} .

Looking at the third column from the right, we have R+R=N. Since N=0, R must be greater than 0 so we assume R+R=10. There may or may not be carry over from the second right column. If there is, we have 1+R+R=10 which means 2R=9 which is impossible as R must be an integer. Hence there is no carry over which means 2R=10 and R=5. We have D A 55 E 0 \overline{DA55E0} + D O 55 A \overline{DO55A} = B 5 E 0 D A \overline{B5E0DA} .

Looking at the second right column which has no carry over, E+5=D. Note that D (same value as E+5) is at most 8 which means E is at most 3. Note that the maximum possible value of D is 8 and not 9 as from the leftmost column, B=D+1 (otherwise B=D) so we already have B at most 9. We have (E, D) = (1, 6), (2, 7), (3, 8). Also, there is carry over from the third right column so looking at the third left column, 1+5+O=6+O= E mod 10. Observe that since E is at most 4, we must have 6+O = 10+E or O=4+E. This carry over will affect the second left column such that 1+A+D=15 so that A+D=14. Note that we use 15 and not 5 as there is a carry over affecting the leftmost column (B=D+1).

If E=1 and D=6, then O=5 resulting in a duplicate (R=5) so (E, D) = (1, 6) is out. If E=2 and D=7, then O=6 but A is also 7. (E, D) = (2, 7) is out too. This leaves us with (E, D) = (3, 8). Therefore, B=9, O=7 and A=6. We have our answer, B R E N D A = 953086 \overline{BRENDA}=953086 .

Nice Problem and Nice Solution, took a while to get it though, but very nice :)

Angela Fajardo - 5 years, 5 months ago

Log in to reply

Thank you!

Noel Lo - 5 years, 5 months ago

This was not that hard with permutations from itertools python:

1
2
3
4
5
for d,a,r,e,n,o,b in permutations('0123456789',7):
  if '0' in (d,b):
    continue
  if int(d+a+r+r+e+n)+int(d+o+r+r+a)==int(b+r+e+n+d+a):
    print(b+r+e+n+d+a)

1
2
Solution:
953086

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...