#3223. Visible Lattice Points
Visible Lattice Points
说明

输入格式
输入可能有很多行,且一定以一个数字 <math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow></semantics></math>0 结尾。
除了最后一行 <math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>0</mn></mrow></semantics></math>0 之外,其余每一行都为一个数 <math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>�</mi></mrow></semantics></math>x。
保证 <math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>�</mi><mo>≤</mo><mn>1</mn><msup><mn>0</mn><mn>7</mn></msup></mrow></semantics></math>x≤107。
输出格式
对于每一个输入,输出一行,为小乔能看到的克隆体个数。样例
2
4
5
231
0
5
13
21
32549