cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A343057 Decimal expansion of tan(Pi/32).

Original entry on oeis.org

0, 9, 8, 4, 9, 1, 4, 0, 3, 3, 5, 7, 1, 6, 4, 2, 5, 3, 0, 7, 7, 1, 9, 7, 5, 2, 1, 2, 9, 1, 3, 2, 7, 4, 3, 2, 2, 9, 3, 0, 5, 2, 4, 5, 0, 6, 9, 9, 2, 0, 2, 6, 9, 5, 9, 8, 0, 9, 1, 6, 1, 2, 1, 1, 3, 4, 4, 1, 9, 4, 3, 8, 7, 3, 0, 8, 1, 2, 9, 7, 2, 2, 5, 6, 4, 8, 5, 2, 1, 4, 1, 8, 0, 3, 7, 3, 6, 0, 0, 1, 3, 7, 0, 6, 7, 1, 6, 9, 7, 7, 9, 1, 7, 6, 5
Offset: 0

Views

Author

Seiichi Manyama, Apr 04 2021

Keywords

Examples

			0.098491403357164253077197...
		

Crossrefs

Cf. A343055 (sin(Pi/32)), A343056 (cos(Pi/32)).
tan(Pi/m): A002194 (m=3), A019934 (m=5), A020760 (m=6), A343058 (m=7), A188582 (m=8), A019918 (m=9), A019916 (m=10), A019913 (m=12), A343059 (m=14), A019910 (m=15), A343060 (m=16), A343061 (m=17), A019908 (m=18), A019907 (m=20), A343062 (m=24), A019904 (m=30), A343057 (m=32), A019903 (m=36).

Programs

  • Magma
    R:= RealField(125); Tan(Pi(R)/32); // G. C. Greubel, Sep 30 2022
    
  • Mathematica
    RealDigits[Tan[Pi/32], 10, 120, -1][[1]] (* Amiram Eldar, Apr 27 2021 *)
  • PARI
    tan(Pi/32)
    
  • PARI
    sqrt((2-sqrt(2+sqrt(2+sqrt(2))))/(2+sqrt(2+sqrt(2+sqrt(2)))))
    
  • SageMath
    numerical_approx(tan(pi/32), digits=125) # G. C. Greubel, Sep 30 2022

Formula

Equals sqrt( (2-sqrt(2+sqrt(2+sqrt(2))))/(2+sqrt(2+sqrt(2+sqrt(2)))) ).

A370393 Decimal expansion of the area of a unit heptadecagon (17-gon).

Original entry on oeis.org

2, 2, 7, 3, 5, 4, 9, 1, 8, 9, 8, 4, 1, 6, 5, 5, 1, 4, 8, 2, 4, 2, 3, 7, 2, 3, 8, 7, 3, 9, 3, 7, 6, 3, 5, 7, 6, 1, 0, 6, 4, 1, 9, 9, 1, 4, 6, 9, 3, 3, 0, 9, 8, 8, 6, 0, 3, 5, 6, 5, 9, 4, 4, 0, 3, 9, 7, 2, 3, 2, 5, 1, 4, 8, 7, 9, 6, 7, 7, 7, 5, 7, 4, 7, 6, 4, 6
Offset: 2

Views

Author

Michal Paulovic, Feb 17 2024

Keywords

Comments

This constant multiplied by the square of the side length of a regular heptadecagon equals the area of that heptadecagon.
17^2 divided by this constant equals 68 * tan(Pi/17) = 12.71140300... which is the perimeter and the area of an equable heptadecagon with its side length 4 * tan(Pi/17) = 0.74772958... .
An equable rectangle with its perimeter and area = 17 has side lengths:
a = s^2/8 = (17 - sqrt(17)) / 4 = (17 - A010473) / 4 = 3.21922359...
b = 136/s^2 = (17 + sqrt(17)) / 4 = (17 + A010473) / 4 = 5.28077640...
where s is the parameter from the formula mentioned below.

Examples

			22.7354918984165514...
		

Crossrefs

Cf. A007450, A010473, A019684 (Pi/17), A210644 (cos(2*Pi/17)), A210649, A228787, A241243, A329592, A343061.

Programs

  • Maple
    evalf(17 / (4 * tan(Pi/17)), 100);
  • Mathematica
    RealDigits[17 / (4 * Tan[Pi/17]), 10, 100][[1]]
  • PARI
    17 / (4 * tan(Pi/17))

Formula

Equals 17 / (4 * tan(Pi/17)) = 17 / (4 * A343061).
Equals 1 / (4 * A007450 * A343061).
Equals 17 * cos(Pi/17) / (4 * sin(Pi/17)).
Equals 17 * A210649 / (4 * A241243).
Equals 17 * A210649 / (2 * A228787).
Equals 17 * cot(Pi/17) / 4.
Equals 17 * sqrt(4 / (s^2 - 2 * s - 4 * sqrt(17 + 3 * sqrt(17) - s - sqrt(17) * 16/s)) - 1/16) where s = sqrt(34 - 2 * sqrt(17)) = 4 * A329592.
The minimal polynomial is 4294967296*x^16 - 3103113871360*x^14 + 510054948143104*x^12 - 28954726431195136*x^10 + 653743432704327680*x^8 - 6011468019822067712*x^6 + 20881180982314634240*x^4 - 21552361799603318912*x^2 + 2862423051509815793.
Showing 1-2 of 2 results.