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”).

A010135
Continued fraction for sqrt(45).
4
6, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2, 2, 2, 1, 12, 1, 2
OFFSET
0,1
EXAMPLE
6.708203932499369089227521006... = 6 + 1/(1 + 1/(2 + 1/(2 + 1/(2 + ...)))). - Harry J. Smith, Jun 06 2009
MATHEMATICA
ContinuedFraction[Sqrt[45], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 07 2011 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 17000); x=contfrac(sqrt(45)); for (n=0, 20000, write("b010135.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 06 2009
CROSSREFS
Cf. A010499 (decimal expansion), A041076/A041077 (convergents).
Sequence in context: A244059 A121090 A321991 * A176401 A325977 A365164
KEYWORD
nonn,cofr,easy
STATUS
approved