Consider the segment, at the ends of which ones are written. Then till infinity we shall do the next procedure: for each segment with ends and (inside which the numbers are absent) we shall write in the middle the number a + b. So from the starting segment

we get

Then we get the segment

and so on till infinity. How many times the positive integer will be written on a segment?
One positive integer (n \leq 10^{13}).
The number of times the number appears on a segment.
Example 1