The first digit is double the third digit the code is a palindrome (it reads the same if it is reversed) the fourth number is 7 the third number is one less than the sixth number the second number is 3 less than the fourth number.