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

A322602
Continued fraction for cosh(gamma).
3
1, 5, 1, 5, 4, 1, 5, 1, 1, 2, 9, 1, 1, 8, 1, 16, 1, 2, 1, 2, 1, 1, 1, 4, 27, 2, 1, 1, 1, 2, 1, 8, 1, 3, 5, 1, 1, 1, 1, 1, 16, 2, 1, 4, 1, 2, 62, 1, 8, 12, 1, 4, 1, 4, 3, 1, 1, 4, 1, 3, 20, 1, 2, 2, 106, 1, 13, 2, 7, 2, 1, 2, 4, 7, 1, 2, 1, 1, 2, 11, 1, 1, 2, 24, 1, 2, 2, 1, 1, 12
OFFSET
0,2
COMMENTS
Continued fraction of (exp(gamma)+exp(-gamma))/2 = cosh(gamma) (A147708), where gamma is the Euler-Mascheroni constant (A001620).
See A322603 for the continued fraction of sinh(gamma).
EXAMPLE
1 + 1/(5 + 1/(1 + 1/(5 + 1/(4 + 1/(1 + 1/(5 + 1/(1 + ...))))))) = 1.17126595077854157753032365...
MAPLE
with(numtheory): cfrac(cosh(gamma), 100, 'quotients'); # Muniru A Asiru, Dec 20 2018
MATHEMATICA
ContinuedFraction[ (Exp[EulerGamma] + Exp[ -EulerGamma])/2, 100]
PROG
(PARI) contfrac(cosh(Euler)) \\ Michel Marcus, Dec 21 2018
CROSSREFS
Cf. A147708 (decimal expansion), A001620 (Euler-Mascheroni constant), A322603.
Sequence in context: A060186 A240995 A122002 * A228639 A073226 A309282
KEYWORD
nonn,cofr
AUTHOR
Tristan Cam, Dec 20 2018
EXTENSIONS
Offset changed by Andrew Howroyd, Jul 07 2024
STATUS
approved