Four-digit number

Number Theory Level pending

A four-digit number N N , where the four digits are distinct, is such that if you add its four digits to N N , it gives 2006 2006 . Find N N ?


The answer is 1984.

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

Let a b c d a\neq b\neq c\neq d be the thousand's, hundred's, ten's and unit's digits of the number respectively. Then 0 a , b , c , d 9 0\leq a, b, c, d\leq 9 . Also, a a must be equal to 1 1 , since at most one digit can be zero and the number must be as close to 2006 2006 as possible. Then from the given condition 1001 a + 101 b + 11 c + 2 d = 2006 1001a+101b+11c+2d=2006 we get b + c + 2 d b+c+2d can be 5 , 15 , 25 5,15,25 or 35 35 . Also, b b must be the largest possible and b + c b+c must be odd. For a = 1 a=1 and b = 9 b=9 we have 1001 + 909 + 11 c + 2 d = 2006 11 c + 2 d = 96 1001+909+11c+2d=2006\implies 11c+2d=96 . So c 8 c\leq 8 . Since d 9 d\leq 9 , therefore the only possible values of c c and d d are 8 8 and 4 4 respectively. Therefore the required number is 1984 \boxed {1984} .

Same exact way - you beat me to it! Bonus question: what if we replace 2006 2006 in the question with 2111 2111 ?

Chris Lewis - 1 year, 2 months ago

Log in to reply

Your comment and question just came to my notice. The answer to your question is 2104 2104 :)

A Former Brilliant Member - 1 year, 2 months ago

Log in to reply

That's certainly a solution...

Chris Lewis - 1 year, 2 months ago

Where does the problem say that it's four digits are distinct? What about 2002 2002 ?

Vilakshan Gupta - 1 year, 2 months ago

It shouldnt be 2002 so the question asked for distinct digits

Bsfire Toy - 1 year, 2 months ago

Log in to reply

I guess you earlier mentioned that there were distinct digits but the question was modified by Chew-Seong Cheong and he forgot to add the distinct digits part, so when I saw the problem, it wasn't there but he added it afterwards when I asked him about the case N = 2002 N=2002 .

Vilakshan Gupta - 1 year, 2 months ago

2095 will be N if 2111 is given.

Shoy Wang - 1 year, 2 months ago

That's the other solution. The point is, both 2095 2095 and 2104 2104 give the total 2111 2111 (and satisfy the criterion that their digits be distinct). So an interesting follow-up question is, which totals have unique solutions? Or, what's the largest possible number of solutions for a particular total?

Chris Lewis - 1 year, 2 months ago

Log in to reply

Lets take a try

Bsfire Toy - 1 year, 2 months ago
Chew-Seong Cheong
Mar 16, 2020

Let N = A B C D N=\overline{ABCD} , where A A , B B , C C , and D D are single digit integer from 1 1 to 9 9 . Then we have:

A B C D + A + B + C + D = 2006 1001 A + 101 B + 11 C + 2 D = 2006 Since A 00 A + B 0 B < 2006 A = 1 , B = 9 1910 + 11 C + 2 D = 2006 11 C + 2 D = 96 Putting C = 8 88 + 2 D = 96 2 D = 8 D = 4 \begin{aligned} \overline{ABCD} + A + B + C + D & = 2006 \\ 1001A + 101B + 11C + 2D & = 2006 & \small \blue{\text{Since }\overline{A00A}+\overline{B0B} < 2006 \implies A=1, B=9} \\ 1910 + 11C + 2D & = 2006 \\ 11C + 2D & = 96 & \small \blue{\text{Putting }C=8} \\ 88 + 2D & = 96 \\ 2D & = 8 \\ \implies D & = 4 \end{aligned}

Therefore N = 1984 N = \boxed{1984} .

What about N = 2002 N=2002 ?

Vilakshan Gupta - 1 year, 2 months ago

Log in to reply

Oops! I have deleted the digits are distinct in the questions. Sorry.

Chew-Seong Cheong - 1 year, 2 months ago

Ya that's true but the question says distinct digits

Bsfire Toy - 1 year, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...