You are given a positive integer n. Find a sequence of fractions ai / bi, i = 1…k for some k such that: bi divides n, 1 < bi < n for i = 1…k 1 ≤ ai < bi for i = 1…
You are given a positive integer n. Find a sequence of fractions ai / bi, i = 1…k (where ai and bi are positive integers) for some k such that: bi divides n, 1 < bi < n for i = 1…k 1 ≤ ai < bi for i = 1…k ∑i=1kaibi=1−1nsum_{i=1}^kfrac{a_i}{b_i}=1-frac1n∑i=1kbiai=1−n1
(图片来源网络,侵删)