What is the greatest integer so that each of its interior digits is less than the average of its neighbors?
Source: This problem was found by Stan Wagon in Leningrad Mathematical Olympiads, 1987-1991, MathPro Press, pp. 7, 62
© Copyright 1997 Stan Wagon. Reproduced with permission.