cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A267066 Coefficient of x^6 in the minimal polynomial of the continued fraction [1^n,sqrt(2)+sqrt(3),1,1,...], where 1^n means n ones.

Original entry on oeis.org

4, -560, -952, -303372, -8139896, -481544336, -20771606140, -1008539866512, -46789454179352, -2208680436593036, -103571099363469976, -4869042962273734320, -228680251217985528572, -10744200847316967694832, -504729054922920767654776
Offset: 0

Views

Author

Clark Kimberling, Jan 10 2016

Keywords

Comments

See A265762 for a guide to related sequences.

Examples

			Let u = sqrt(2) and v = sqrt(3), and let p(n,x) be the minimal polynomial of the number given by the n-th continued fraction:
[u+v,1,1,1,...] has p(0,x)  = 49 - 168 x - 50 x^2 + 212 x^3 + 47 x^4 - 68 x^5 - 18 x^6 + 4 x^7 + x^8, so that a(0) = 4.
[1,u+v,1,1,1,...] has p(1,x) = 49 - 560 x + 2498 x^2 - 5760 x^3 + 7547 x^4 - 5760 x^5 + 2498 x^6 - 560 x^7 + 49 x^8, so that a(1) = -560;
[1,1,u+v,1,1,1...] has p(2,x) = 25281 - 101124 x + 173262 x^2 - 165852 x^3 + 96847 x^4 - 35252 x^5 + 7790 x^6 - 952 x^7 + 49 x^8, so that a(2) = -952.
		

Crossrefs

Programs

  • Mathematica
    u[n_] := Table[1, {k, 1, n}]; t[n_] := Join[u[n], {Sqrt[2] + Sqrt[3]}, {{1}}];
    f[n_] := FromContinuedFraction[t[n]];
    t = Table[MinimalPolynomial[f[n], x], {n, 0, 40}];
    Coefficient[t, x, 0];  (* A266803 *)
    Coefficient[t, x, 1];  (* A266808 *)
    Coefficient[t, x, 2];  (* A267061 *)
    Coefficient[t, x, 3];  (* A267062 *)
    Coefficient[t, x, 4];  (* A267063 *)
    Coefficient[t, x, 5];  (* A267064 *)
    Coefficient[t, x, 6];  (* A267065 *)
    Coefficient[t, x, 7];  (* A267066 *)
    Coefficient[t, x, 8];  (* A266803 *)

Formula

a(n) = 34*a(n-1) + 714*a(n-2) - 4641*a(n-3) - 12376*a(n-4) + 12376*a(n-5) + 4641*a(n-6) - 714*a(n-7) - 34*a(n-8) + a(n-9).
G.f.: -((4 (1 - 174 x + 3808 x^2 + 36850 x^3 + 76256 x^4 + 105360 x^5 - 8095 x^6 - 1822 x^7 + 36 x^8))/(-1 + 34 x + 714 x^2 - 4641 x^3 - 12376 x^4 + 12376 x^5 + 4641 x^6 - 714 x^7 - 34 x^8 + x^9)).