OFFSET
1,3
COMMENTS
The partial quotient terms [1 2 1 1 2 1 1 2 1...] are palindromic. The matrix generator for convergents to barover[1 2 1] = [2 3 / 3 4]^n = M^n and is Hermitian (upper right term = lower left). Therefore in any pair of convergents M^n, upper right term = lower left. Example: M^3 = [80 111 / 111 541], where 111 = a(9). Consequently a(3n) = A093612(3n-1), where A093612 = denominators of barover[1 2 1].
Denominators give same sequence shifted one place left.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,6,0,0,1).
FORMULA
Partial quotients are [1 2 1 1 2 1...] indicating the operation below a term q. The numerator under q = n = q(n-1) + (n-2), a(1) = 1, a(2) = 2, a(3) = 3 and so on.
G.f.: x(1+3x+4x^2+x^3+x^5)/(1-6x^3-x^6). - Paul Barry, Apr 12 2010
EXAMPLE
a(5) = 13 = 2*5 + 3.
MATHEMATICA
xx = ContinuedFraction[3/(1 + Sqrt[10]), 70]; Table[ Numerator[ FromContinuedFraction[ Take[xx, n]]], {n, 34}] (* Robert G. Wilson v, Apr 08 2004 *)
LinearRecurrence[{0, 0, 6, 0, 0, 1}, {0, 1, 3, 4, 7, 18, 25}, 40] (* Harvey P. Dale, Nov 26 2021 *)
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Gary W. Adamson, Apr 04 2004
EXTENSIONS
Corrected and extended by Robert G. Wilson v, Apr 08 2004
STATUS
approved
