login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A041921
Denominators of continued fraction convergents to sqrt(482).
2
1, 1, 21, 22, 945, 967, 20285, 21252, 912869, 934121, 19595289, 20529410, 881830509, 902359919, 18929028889, 19831388808, 851847358825, 871678747633, 18285422311485, 19157101059118, 822883666794441, 842040767853559, 17663699023865621, 18505739791719180
OFFSET
0,3
FORMULA
G.f.: -(x^2-x-1)*(x^4+22*x^2+1) / (x^8-966*x^4+1). - Colin Barker, Nov 27 2013
a(n) = 966*a(n-4) - a(n-8) for n>7. - Vincenzo Librandi, Dec 27 2013
MATHEMATICA
Denominator[Convergents[Sqrt[482], 30]] (* Vincenzo Librandi, Dec 27 2013 *)
LinearRecurrence[{0, 0, 0, 966, 0, 0, 0, -1}, {1, 1, 21, 22, 945, 967, 20285, 21252}, 30] (* Harvey P. Dale, Mar 25 2018 *)
PROG
(Magma) I:=[1, 1, 21, 22, 945, 967, 20285, 21252]; [n le 8 select I[n] else 966*Self(n-4)-Self(n-8): n in [1..40]]; // Vincenzo Librandi, Dec 27 2013
CROSSREFS
Sequence in context: A068325 A041219 A041920 * A041922 A104669 A156891
KEYWORD
nonn,frac,easy,less
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 27 2013
STATUS
approved