A point is drawn in the positive coordinate plane with . Then, an infinite sequence of points are drawn, with the following rule:
Suppose a starting point is called friendly to a coordinate if a point is drawn on sometime in the sequence; that is, for some positive integer .
Let be a function that counts the number of starting points that are friendly to .
The number of ordered pairs satisfying and can be expressed as where are positive integers and is minimized. Find the value of .
Details and Assumptions
As much as this looks like a Computer Science problem, it is 100% doable with only a pencil and a paper.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
first of all, the problem should be stated with an extra condition i.e. (x1,y1) is called friendly to a coordinate (a,b) if a point is drawn on (a,b) sometime in the sequence and x1 and y1 should be integres. otherwise F(p,q) will always be infinite and that does not make any sense.