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

A072977
Increasing partial quotients of w = 2*cos(Pi/7).
0
1, 4, 20, 39, 94, 636, 699, 716, 904, 1374, 1824, 2457, 24007, 32164, 170306, 179545, 198107, 463343, 579913, 910774, 3758763, 3896343, 5800335, 11314629, 13245450, 14422622, 62449915
OFFSET
1,2
COMMENTS
w satisfies w3 - w2 - 2w + 1 = 0 and so is algebraic.
EXAMPLE
w = 1.801937735804838252472204639014890102331838324263714300...
MATHEMATICA
a = ContinuedFraction[2*Cos[Pi/7], 10^6]; b = 0; Do[ If[a[[n]] > b, b = a[[n]]; Print[b]], {n, 1, 10^6 - 1}]
CROSSREFS
Continued fraction: A039921.
Sequence in context: A044446 A232221 A323183 * A341895 A163365 A145194
KEYWORD
nonn,more
AUTHOR
Alastair Rucklidge (A.M.Rucklidge(AT)leeds.ac.uk) and Robert G. Wilson v, Aug 13 2002
EXTENSIONS
a(22)-a(27) from Robert G. Wilson v, Jun 12 2013.
STATUS
approved