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

A178818
Decimal expansion of the diameter of the regular 7-gon (heptagon) of edge length 1.
5
2, 0, 7, 6, 5, 2, 1, 3, 9, 6, 5, 7, 2, 3, 3, 6, 5, 6, 7, 1, 6, 3, 5, 3, 8, 8, 6, 1, 4, 8, 5, 8, 4, 0, 3, 3, 0, 7, 0, 5, 7, 2, 0, 2, 0, 6, 6, 2, 5, 9, 6, 8, 5, 2, 4, 0, 8, 3, 4, 1, 7, 3, 7, 6, 8, 6, 3, 0, 2, 8, 4, 8, 7, 0, 6, 4, 5, 9, 7, 7, 1, 7, 4, 6, 4, 4, 1, 7, 5, 5, 1, 5, 9, 7, 6, 0, 6, 2, 2, 5, 3, 5, 4, 8, 8
OFFSET
1,1
LINKS
FORMULA
Digits of cot(Pi/7).
EXAMPLE
2.07652139657233656716353886148584033070572020662596852408341737686302...
MAPLE
evalf[120](cot(Pi/7)); # Muniru A Asiru, Jan 22 2019
MATHEMATICA
RealDigits[Cot[Pi/7], 10, 100][[1]]
PROG
(PARI) default(realprecision, 100); cotan(Pi/7) \\ G. C. Greubel, Jan 22 2019
(Magma) SetDefaultRealField(RealField(100)); R:=RealField(); Cot(Pi(R)/7); // G. C. Greubel, Jan 22 2019
(Sage) numerical_approx(cot(pi/7), digits=100) # G. C. Greubel, Jan 22 2019
KEYWORD
nonn,easy,cons
AUTHOR
STATUS
approved