This is a follow-up question to my older puzzle "A truly amazing way of making the number 2016" and to my other older puzzle "A truly amazing way of making every possible positive integer". My favorite solution to the first puzzle observed that
$~~~~2016 ~=~ (1+2+3+4+5+6+7)*8*9$.
Note that in this solution the digits occur in a neat increasing order! The solution to the second puzzle gives for every positive integer $n$ a mathematical expression that yields the value $n$ while obeying the following five rules:
- Each of the digits $1,2,3,4,5,6,7,8,9$ is used exactly once (while digit $0$ is not used).
- Decimal points are allowed.
- One may use brackets "(" and ")" to structure your expression, and to make it well-defined.
- The only allowed mathematical operations are addition (+), subtraction (-), multiplication (*), division (/); the minus sign may also be used as the sign of a negative number.
- The only allowed mathematical functions are square-roots and logarithms. Logarithms must be written in the form $\log[b](x)$ to denote the base-$b$ logarithm of number $x$.
(Note that juxtaposition of digits, non-decimal digits, cube-roots, exponentiation, factorials, absolute values, trigonometric functions, rounding, limits, etc are strictly forbidden in this puzzle.)
Now in this breathtaking follow-up puzzle, I ask you to find a solution that combines the good properties of the solutions for the two older puzzles:
New puzzle: For every positive integer $n$, find a mathematical expression
- that yields the value $n$,
- that obeys the five rules 1.-5.as listed above,
- and that contains the digits in increasing order (when read from left to right).
(The solution does not require any tricks. No lateral thinking. The expression/string can be written in a single line, with the nine digits occurring in increasing order.)