OFFSET
1,3
EXAMPLE
We get 14/1 -> 13/7 -> 6/19 -> 13/3 -> 10/19 -> 9/5 -> 4/13 -> 9/1 so a(14)=9.
CROSSREFS
KEYWORD
nonn
AUTHOR
Floor van Lamoen, Jul 12 2001
STATUS
approved