A person forgot his 5 digit pin code, but he remembers some hints.

- 1st digit is square of 2nd digit.
- Sum of 2nd and 3rd digit makes 10.
- 4th digit is 2nd digit+1.
- Sum of 5th and 3rd digit makes 14.
- Sum of all 5 digits = 30

**Can you guess the person’s pin code from above hints ?**

See Answer

**How?**

Lets assume second digit is x, then first digit should be x^2 and fourth digit should be x+1.

also assume, 3rd digit is y then 5th digit should be 14-y.

So the number will look like this:-

**<x^2><x><y><x+1><14-y>**

As we also know the sum of all digits, we can say

x^2 + 2x +1 +14 = 30 (x+1)^2 = 16 x+1 = 4 x = 3

As sum of 2nd and third digit is 10 => x+y = 10 => y=7

Thus the pin code is 93747.