4. If a number, from the highest digit to the lowest digit, does not decrease at each digit, it is called a "positive number" (such as , , , , , etc.); if a number, from the highest digit to the lowest digit, does not increase at each digit, it is called a "negative number" (such as , , , , etc.). A number that is neither a positive number nor a negative number is called a "swinging number" (such as , , , etc.). Then among the three-digit numbers, there are swinging numbers.
Solution
4.525.
According to the definition of a wavy number, we discuss in two cases:
(1) The hundreds, tens, and units digits are in the pattern "small-large-small": there are
(2) The hundreds, tens, and units digits are in the pattern "large-small-large": there are
In summary, there are wavy numbers.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.