I want to make a joke about flux here, but can't (BMT 2019 Discrete #7)
Source:
May 25, 2019
Problem Statement
(My problem. :D)
Call the number of times that the digits of a number change from increasing to decreasing, or vice versa, from the left to right while ignoring consecutive digits that are equal the flux of the number. For example, the flux of 123 is 0 (since the digits are always increasing from left to right) and the flux of 12333332 is 1, while the flux of 9182736450 is 8. What is the average value of the flux of the positive integers from 1 to 999, inclusive?