In a parallel universe, you've forgotten the pin code of your credit card. Though fortunately you remember the characteristics of your pin code. Which are-
-It is a 4 digit numerical -The first digit is 1/2 of the 4th digit. -The second and the third digits are the same. -The first 2 digits combined are 1/2 of the last 2 digits.
Example for further clearance-
1224 We see that the 2nd and the 3rd conditions are fulfilled as the 2nd and the 3rd digits are equal and the first 2 digits combined are 1/2 of the last 2 digits combined (12=1/2(24)), though as the first condition is not fulfilled this answer is incorrect.
0000 Sadly this answer, despite of fulfilling all the conditions is wrong, as 0000 isn't considered a 4 digit number.
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.
Let the number be a b c d
We have
⎩ ⎪ ⎨ ⎪ ⎧ d = 2 a b = c 2 ( 1 0 a + b ) = 1 0 c + d
Substituting d by 2 a and c by b in the third equation:
2 0 a + 2 b = 1 0 b + 2 a ⟹ 1 8 a = 8 b ⟹ 8 1 8 a = b or 2 3 2 a × 9 = b
Considering that b must be an integer and that 1 ≤ a ≤ 9 , we have 2 possible values for a : 4 and 8
But a = 8 would make d = 1 6 , so a = 2 d = 4 ⟹ b = c = 2 3 2 × 4 × 9 = 9
⟹ a b c d = 4 9 9 8