|
|
A041063
|
|
Denominators of continued fraction convergents to sqrt(38).
|
|
2
|
|
|
1, 6, 73, 444, 5401, 32850, 399601, 2430456, 29565073, 179820894, 2187415801, 13304315700, 161839204201, 984339540906, 11973913695073, 72827821711344, 885907774231201, 5388274467098550, 65545201379413801, 398659482743581356, 4849458994302390073
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: -(x^2-6*x-1) / (x^4-74*x^2+1). - Colin Barker, Nov 12 2013
Interspersion of 2 sequences [a0(n),a1(n)] for n>0:
a0(n) = ((38+6*sqrt(38))/(37+6*sqrt(38))^n+(38-6*sqrt(38))*(37+6*sqrt(38))^n)/76;
a1(n) = (-1/(37+6*sqrt(38))^n+(37+6*sqrt(38))^n)/(2*sqrt(38)). (End)
|
|
MATHEMATICA
|
a0[n_] := ((38+6*Sqrt[38])/(37+6*Sqrt[38])^n+(38-6*Sqrt[38])*(37+6*Sqrt[38])^n)/76 // Simplify
a1[n_] := (-1/(37+6*Sqrt[38])^n+(37+6*Sqrt[38])^n)/(2*Sqrt[38]) // FullSimplify
Flatten[MapIndexed[{a0[#], a1[#]}&, Range[20]]] (* Gerry Martens, Jul 11 2015 *)
LinearRecurrence[{0, 74, 0, -1}, {1, 6, 73, 444}, 30] (* Harvey P. Dale, Feb 29 2024 *)
|
|
PROG
|
(Magma) I:=[1, 6, 73, 444]; [n le 4 select I[n] else 74*Self(n-2)-Self(n-4): n in [1..30]]; // Vincenzo Librandi, Dec 10 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr,frac,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|