OFFSET
1,1
COMMENTS
The continued fraction expansion of this constant - 1 is A133265.
More generally, for integer n >= 2, the simple continued fraction expansion of tan(1/n) + sec(1/n) is 1 + 1/(n-1 + 1/(2 + 1/(3*n-1 + 1/(2 + 1/(5*n-1 + 1/(2 + 1/(7*n-1 + 1/(2 + 1/(9*n-1 + ... ))))))))). - Peter Bala, Feb 14 2025
LINKS
FORMULA
Equals 2 - Integral_{x = 0..1} sin(x)/(sin(x) - 1) dx.
Equals exp(Integral_{x = 0..1} sec(x) dx).
Equals exp(A248617). - Hugo Pfoertner, Jun 13 2025
From Peter Bala, Feb 14 2026: (Start)
Constant c = tan((Pi + 2)/4).
c = -i*(exp(i) + i)/(exp(i) - i), where i = sqrt(-1).
c = exp(arctanh(sin(1))).
c = (cos(1/2) + sin(1/2))/(cos(1/2) - sin(1/2)) = sqrt((1 + sin(1))/(1 - sin(1))).
(c - 1)/(c + 1) = tan(1/2).
c + 1/c = 2*sec(1).
Reciprocal 1/(tan(1) + sec(1)) = Integral_{x = 0..1} sin(x)/(sin(x) + 1) dx.
Related continued fraction expansions:
2*(tan(1) + sec(1)) = [6; {k, 4}, ...] and
(1/2)*(tan(1) + sec(1)) = [1; 1, 2, {2, 1, k, 1}, ...], both quasi-periodic with k >= 1. (End)
EXAMPLE
3.408223442335827848481...
MATHEMATICA
RealDigits[Tan[1] + Sec[1], 10, 100, 0][[1]]
PROG
(PARI) tan(1) + 1/cos(1) \\ Amiram Eldar, Jun 13 2025
CROSSREFS
KEYWORD
AUTHOR
Kritsada Moomuang, Jun 12 2025
STATUS
approved
