OFFSET
0,1
FORMULA
From Peter Bala, Feb 14 2026: (Start)
Equals 1/A384932.
Simple continued fraction expansion: 1/(3 + 1/(2 + 1/(2 + 1/(4 + 1/(2 + 1/(6 + 1/(2 + 1/(8 + 1/(2 + ... ))))))))).
More generally, for integer n >= 2, the simple continued fraction expansion of sec(1/n) - tan(1/n) is 1/(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 + ... )))))))))). (End)
EXAMPLE
0.29340799302602338740477843394029002038314588271248926...
MAPLE
A := n -> I*(polylog(-n, -I) - exp(I*Pi*n)*polylog(-n, I)) / exp(I*Pi*n/2):
Digits := 120; sum(A(n)/n!, n = 0..infinity): evalf(%)*10^91:
ListTools:-Reverse(convert(floor(%), base, 10));
MATHEMATICA
RealDigits[Sec[1] - Tan[1], 10 , 100][[1]] (* Amiram Eldar, Aug 17 2021 *)
PROG
(PARI) 1/cos(1) - tan(1) \\ Charles R Greathouse IV, May 11 2026
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Peter Luschny, Aug 13 2021
STATUS
approved
