Given $n$, what is the permutation of $\{1,\dots,n\}$ that minimizes
$$\sum_{i=1}^n \left\lfloor \dfrac {a_i}{i} \right\rfloor$$
where $a_i$ denotes the $i$th element of the permutation.
Given $n$, what is the permutation of $\{1,\dots,n\}$ that minimizes
$$\sum_{i=1}^n \left\lfloor \dfrac {a_i}{i} \right\rfloor$$
where $a_i$ denotes the $i$th element of the permutation.
Copyright © 2021 JogjaFile Inc.