OFFSET
-1,4
COMMENTS
Suggested by Henry Baker in a message to the math-fun mailing list, Mar 16 2018.
FORMULA
Set a(-1) = -1; a(0) = 0; a(n+1) = c(n) * a(n) - a(n-1), where t(0) = 2*Pi, c(n) = ceiling (t(n)), and t(n+1) = 1/(c(n) - t(n)).
EXAMPLE
The best integer over-estimate of 2*Pi is 7. Between 2*Pi and 7 the rational with the smallest denominator is 13/2. Between 2*Pi and 13/2, the rational with the smallest denominator is 19/3. So a(1) = 1, a(2) = 2, a(3) = 3. [Corrected by Altug Alkan, Mar 19 2018]
CROSSREFS
KEYWORD
frac,sign
AUTHOR
Allan C. Wechsler, Mar 18 2018
EXTENSIONS
More terms from N. J. A. Sloane, Mar 19 2018
a(-1) = -1 and a(0) = 0 prepended by Altug Alkan, Mar 26 2018
STATUS
approved