MathLabs

Problem 5

Let a1,a2,…a_1,a_2,\ldots be an infinite sequence of positive integers. Suppose there is an integer N>1N>1 such that, for every n≥Nn\ge N, the number a1a2+a2a3+⋯+an−1an+ana1\frac{a_1}{a_2}+\frac{a_2}{a_3}+\cdots+\frac{a_{n-1}}{a_n}+\frac{a_n}{a_1} is an integer. Prove that there is a positive integer MM such that am=am+1a_m=a_{m+1} for all m≥Mm\ge M.
Step 2 of 8: Fix a prime and use valuations
vp(x)=the exponent of p in xv_p(x)=\text{the exponent of }p\text{ in }x
Detailed analysis

Fix a prime pp and write v=vpv=v_p. An integer has nonnegative vv-valuation, and a sum of rationals with one uniquely negative valuation cannot be an integer: its valuation is then negative.