Let m=7 and n=10. We now claim that the minimum possible value is m−1 and this is achieved by letting ai=mi. Now, to show that this is indeed the minimum, we assume without loss of generality that an is the largest amongst all ai. Now,
i=1∑n⌊ai+ai+1mai⌋≥⌊a1+a2ma1⌋+⌊an+a1man⌋≥⌊a1+anma1⌋+⌊an+a1man⌋≥⌊an+a1m(a1+an)⌋−1≥m−1
We just use the fact that ⌊x⌋+⌊y⌋≥⌊x+y⌋−1.

This tells us that the problem is indeed true in much higher generality:
Let m,n≥2 be positive integers. Given that a1,…,an are positive real numbers, determine the smallest possible value of
i=1∑n⌊ai+ai+1mai⌋
where we define an+1=a1.
We first observe that if ai≥ai+1, then
⌊ai+ai+17ai⌋≥⌊2ai7ai⌋≥3.
Thus the sequence (taken cyclically) decreases at most once, otherwise we are done. WLOG a1<a2<⋯<a10.
Make the substitution ai+1/ai=xi. We have xi>1 for 1≤i≤9, and x10=1/x1x2…x9. The expression becomes
i=1∑9⌊1+xi7⌋+⌊x1x2…x9+17x1x2…x9⌋.
If we have xi≥6 for any 1≤i≤9, then we get
⌊x1x2…x9+17x1x2…x9⌋x1x2…x9+17x1x2…x9x1x2…x9≥6,≥6x1x2…x9+6≥6
and we are done.
If not, xi<6 for all 1≤i≤9. But then, for 1≤i≤9,
⌊1+xi7⌋≥1,
which means the expression is at least 9, which is greater than our bound! ☐