The pincode is 93747.
.
.
.
.
Proof:
1. Let's say d second digit, a is 3, the square of a is 3x3=9. First digit , a is 9, Second digit, b is 3.
2. The third digit, c is 3 + c =10, c = 10-3=7. Third digit is 7.
3. Fourth digit(d) is b+1=4, b=3. So 3+1=4
4. Fifth digit, say e+c=14, c=7 e=14-7; e=7. Fifth digit(e) is 7
5. Sum of all digits
=a+b+c+d+e
=9+3+7+4+7
=30.