A boy forgot the pin of his phone which is 4 digit no. and sudenly he remembered some clues.
This are the clues:
The first number is the square of the second number and the third number plus the second is ten
the fourth is equal to the second number plus one the sum of the 4 digit number is 23