login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A041071 Denominators of continued fraction convergents to sqrt(42). 2
1, 2, 25, 52, 649, 1350, 16849, 35048, 437425, 909898, 11356201, 23622300, 294823801, 613269902, 7654062625, 15921395152, 198710804449, 413343004050, 5158826853049, 10730996710148, 133930787374825, 278592571459798, 3477041644892401, 7232675861244600 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: -(x^2-2*x-1) / (x^4-26*x^2+1). - Colin Barker, Nov 12 2013
a(n) = 26*a(n-2) - a(n-4). - Vincenzo Librandi, Dec 10 2013
MATHEMATICA
Table[Denominator[FromContinuedFraction[ContinuedFraction[Sqrt[42], n]]], {n, 1, 50}] (* Vladimir Joseph Stephan Orlovsky, Mar 22 2011 *)
Denominator[Convergents[Sqrt[42], 30]] (* Vincenzo Librandi, Dec 10 2013 *)
LinearRecurrence[{0, 26, 0, -1}, {1, 2, 25, 52}, 30] (* Harvey P. Dale, Oct 17 2019 *)
PROG
(Magma) I:=[1, 2, 25, 52]; [n le 4 select I[n] else 26*Self(n-2)-Self(n-4): n in [1..30]]; // Vincenzo Librandi, Dec 10 2013
CROSSREFS
Cf. A041070.
Sequence in context: A248546 A369670 A038834 * A153478 A226491 A062933
KEYWORD
nonn,cofr,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 12 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)