<s>[INST] Get $5$ by doing any operations with four $7$s How can one combine four sevens with elementary operations to get $5$? For example $$\dfrac{(7+7)\times7}{7}$$ (though that does not equal $5$). I am not able to do this. Can you solve it or prove that it's impossible?
 [/INST] How about:
$$7 - \frac{7+7}{7} = 5$$
$$7 - \log_7 (7·7) = 5$$
$$7 - \frac{\ln (7·7)}{\ln 7} = 5$$
$$\left\lfloor \sqrt{\frac{7^7}{7!}} - 7\right\rfloor = 5$$
$$\lfloor 7\sin 777^\circ\rfloor = 5$$
$$\lfloor 7\cos 7^\circ\rfloor - \frac{7}{7} = 5$$
$$\lfloor 7\cos 7\rfloor = 5 \text{ using radians}$$
You can also use base $174$ and write:
$$\sqrt{\frac{77}{7·7}} = 5$$
That can also reduce the amount of sevens by one if you write:
$$\frac{\sqrt{77}}{7} = 5$$
</s>