A019429: Continued fraction for tan(1/6).
An empirical formula (a recurrence or generating function) found by fitting the terms of a sequence. Such formulas usually yield to standard methods (transfer matrices, guess and prove) and are rarely of research interest.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Conjecture: a(n) = (-1+3(-1)^n-6(-1+(-1)^n)n)/2 for n>1. a(n) = 2a(n-2)-a(n-4) for n>5. G.f.: x(x^4-x^3+6x^2+x+5) / ((x-1)^2(x+1)^2). · From Peter Bala, Nov 18 2019: a(2n) = 1 and a(2n+1) = 12n + 4, both for n >= 1. The above conjectures are correct. The simple continued fraction expansion for tan(1/6) may be derived by setting z = 1/6 in Lambert's continued fraction tan(z) = z/(1 - z^2/(3 - z^2/(5 - ... ))) and then, after using an equivalence transformation, making repeated use of the identity 1/(n - 1/m) = 1/((n - 1) + 1/(1 + 1/(m - 1))). A similar approach produces the related simple continued fraction expansions 2tan(1/6) = [0, 2, 1, 34, 1, 13, 1, 82, 1, 25, 1, 130, 1, 37, 1, 178, 1, 49, ...], with denominators c(2n) = 1, c(4n+1) = 12n + 1, both for n >= 1, and c(4n+3) = 48n + 34 for n >= 0; 3*tan(1/6) = [0; 1, 1, 52, 1, 8, 1, 124, 1, 16, 1, 196, 1, 24, 1, 268, 1, 32
Text: The OEIS Foundation (CC BY-SA 4.0). Listed on the long list from Left to Solve's public catalogue.