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

A019940
Decimal expansion of tangent of 42 degrees.
1
9, 0, 0, 4, 0, 4, 0, 4, 4, 2, 9, 7, 8, 3, 9, 9, 4, 5, 1, 2, 0, 4, 7, 7, 2, 0, 3, 8, 8, 5, 3, 7, 1, 7, 0, 2, 0, 7, 6, 4, 6, 6, 2, 1, 1, 2, 9, 9, 4, 8, 5, 2, 8, 2, 4, 2, 7, 0, 7, 9, 0, 8, 3, 9, 2, 2, 4, 0, 1, 7, 1, 4, 2, 5, 2, 5, 0, 2, 5, 3, 1, 8, 6, 2, 6, 3, 1, 1, 5, 9, 8, 6, 6, 3, 3, 8, 2, 8, 3
OFFSET
0,1
COMMENTS
Also the decimal expansion of cotangent of 48 degrees. - Ivan Panchenko, Sep 01 2014
FORMULA
Equals sqrt(7 + 2*sqrt(5) - 2*sqrt(3*(5 + 2*sqrt(5)))). - G. C. Greubel, Nov 25 2018
EXAMPLE
0.900404044297839945120477203885371702076466211299485282427079...
MATHEMATICA
RealDigits[Tan[42 Degree], 10, 120][[1]] (* Harvey P. Dale, Sep 05 2012 *)
RealDigits[Tan[7*Pi/30], 10, 100][[1]] (* G. C. Greubel, Nov 25 2018 *)
PROG
(PARI) default(realprecision, 100); tan(7*Pi/30) \\ G. C. Greubel, Nov 25 2018
(Magma) SetDefaultRealField(RealField(100)); R:= RealField(); Tan(7*Pi(R)/30); // G. C. Greubel, Nov 25 2018
(Sage) numerical_approx(tan(7*pi/30), digits=100) # G. C. Greubel, Nov 25 2018
CROSSREFS
Cf. A019851 (sine of 42 degrees)
Sequence in context: A112628 A198871 A254968 * A257435 A366193 A296458
KEYWORD
nonn,cons
STATUS
approved