Given numbers 1,2,...n, the goal of this puzzle is to make a number as close to the mathematical constant $\ln(2) ≈ 0.69314718055$ as possible.
Rules
- You can only use the four mathematical operations $+,-,\times,/$ and parentheses/brackets $()[]$.
- It is not required to use all of the numbers.
- You cannot concatenate (stick) the numbers together. (i.e. you can't get $12$ from $1,2$)
Examples:
$n$ Approximation Error 1 1 $3.068\cdot10^{-1}$ 2 $\frac12=0.5$ $1.931\cdot10^{-1}$ 3 $\frac23=0.\overline6$ $2.6481\cdot10^{-2}$ 7 $\frac7{6+4+(1/(3\times2+5))}=\frac{77}{111}=0.\overline{693}$ $5.4651\cdot10^{-4}$ 8 $\frac7{6+4+(2/(3\times8+1-5))}=\frac{70}{101}=0.\overline{6930}$ $7.7873\cdot10^{-5}$
Give your best approximation for n=1, 2, 3...20. (Give a possibly different answer for each n)
If anyone is curious I am currently only aware of optimal solutions for $n=1,2...8$.

[297+(5*1)]/[684-3] = 131/189 = 0.(693121) which gives an error of: 2.54874382521475E-5
– Michael Moschella Mar 13 '24 at 06:51The only possible better solution now would be to achieve 253/365, which I am attempting now
– Michael Moschella Mar 13 '24 at 07:18