Find all possible integer values of n such that 2n^2 + 2n + 38 is a 4-digit number with all 4 digits equal.