Probability 1/8100 to guess it successfully

I am given 2 four-digit positive integers A = x y z w A = \overline{xyzw} and B = w z y x B = \overline{wzyx} such that:

  1. If A A is divided by the sum of its digits, it gives a quotient of 327 and remainder of 14.

  2. If B B is divided by the sum of its digits, it gives a quotient of 227 and remainder of 16.

Find the value of the integer A A .


The answer is 6554.

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.

1 solution

Kazem Sepehrinia
Jul 11, 2015

When you subtract reverse of a number from itself you get a multiple of 9 9 . Let S = x + y + z + w S=x+y+z+w , it follows that A = 327 S + 14 A=327S+14 and B = 227 S + 16 B=227S+16 and A B = 100 S 2 A-B=100S-2 . Take modulo 9 9 : 0 9 A B 9 100 S 2 9 S 2 S 2 9 0 0\stackrel{9}{\equiv} A-B \stackrel{9}{\equiv} 100S-2 \stackrel{9}{\equiv} S-2 \\ S-2 \stackrel{9}{\equiv} 0 And since 0 S 36 0\le S\le 36 we must have s { 2 , 11 , 20 , 29 } s \in \left\{ 2, 11, 20, 29\right\} . It's easy to see that just S = 20 S=20 works and A = 6554 A=6554 .

Also, you can immediately eliminate S being 2 or 11 because the remaiders are larger than those.

Brendan Caseria - 5 years, 10 months ago

Log in to reply

Good point :)

Kazem Sepehrinia - 5 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...