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-4 of 4 results.

A019829 Decimal expansion of sine of 20 degrees.

Original entry on oeis.org

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

Views

Author

Keywords

Examples

			0.34202014332566873304409961468225958076308336751416062846504849768471476...
		

Crossrefs

Cf. A323601.

Programs

  • Mathematica
    RealDigits[ Sin[Pi/9], 10, 111][[1]]  (* Robert G. Wilson v *)
  • PARI
    /* for x = 20 degrees, sin(9x) = 0 */
    /* so sin(x) is a zero of this polynomial */
    sin_9(x)=9*x-120*x^3+432*x^5-576*x^7+256*x^9
    x=34;y=100;print(3);print(4);
    for(digits=1, 110, {d=0;y=y*10;while(sin_9((10*x+d)/y) > 0, d++);
    d--; /* while loop overshoots correct digit */
    print(d); x=10*x+d})
    \\ Michael B. Porter, Jan 27 2010
    
  • PARI
    sin(Pi/9) \\ Charles R Greathouse IV, Feb 04 2025

Formula

Equals cos(7*Pi/18) = 2F1(13/12,-1/12;1/2;3/4) / 2. - R. J. Mathar, Oct 27 2008
Root of the equation 64*x^6 - 96*x^4 + 36*x^2 - 3 = 0. - Vaclav Kotesovec, Jan 19 2019 (other A019849, A019889)
Equals sqrt(8 - 2^(4/3)*(1 + i*sqrt(3))^(2/3) + i*2^(2/3)*(1 + i*sqrt(3))^(1/3)*(i + sqrt(3)))/4, where i is the imaginary unit. - Vaclav Kotesovec, Jan 19 2019
Equals 2*A019819 *A019889. - R. J. Mathar, Jan 17 2021
This^2 + A019879^2=1. - R. J. Mathar, Aug 31 2025

A232736 Decimal expansion of sin(Pi/14), or the imaginary part of (-1)^(1/7).

Original entry on oeis.org

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

Views

Author

Stanislav Sykora, Nov 29 2013

Keywords

Comments

The corresponding real part is in A232735.
Root of the equation 1 - 4*x - 4*x^2 + 8*x^3 = 0. - Vaclav Kotesovec, Apr 04 2021
The other 2 roots are -A362922 and A073052. - R. J. Mathar, Aug 29 2025

Examples

			0.222520933956314404288902564496794759466355568764544955311987...
		

Crossrefs

Cf. A232735 (real part), A010503 (imag(I^(1/2))), A182168 (imag(I^(1/4))), A019827 (imag(I^(1/5))), A019824 (imag(I^(1/6))), A232738 (imag(I^(1/8))), A019819 (imag(I^(1/9))), A019818 (imag(I^(1/10))).
See also A323601.

Programs

Formula

Equals cos(3*Pi/7). - G. C. Greubel, Sep 04 2022
Equals 4*A073052^3 -3*A073052. - R. J. Mathar, Aug 29 2025
This^2 + A232735^2 = 1. - R. J. Mathar, Aug 31 2025

A343058 Decimal expansion of tan(Pi/7).

Original entry on oeis.org

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

Views

Author

Seiichi Manyama, Apr 04 2021

Keywords

Comments

Root of the equation -7 + 35*x^2 - 21*x^4 + x^6 = 0. - Vaclav Kotesovec, Apr 04 2021

Examples

			0.48157461880752864433216235305697...
		

Crossrefs

Cf. A323601 (sin(Pi/7)), A073052 (cos(Pi/7)).

Programs

  • Mathematica
    RealDigits[Tan[Pi/7], 10, 120][[1]] (* Amiram Eldar, Apr 27 2021 *)
  • PARI
    tan(Pi/7)
    
  • SageMath
    numerical_approx(tan(pi/7), digits=123) # G. C. Greubel, Sep 30 2022

A343055 Decimal expansion of the imaginary part of i^(1/16), or sin(Pi/32).

Original entry on oeis.org

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

Views

Author

Seiichi Manyama, Apr 04 2021

Keywords

Comments

An algebraic number of degree 16 and denominator 2. - Charles R Greathouse IV, Jan 09 2022

Examples

			0.09801714032956060199419...
		

Crossrefs

sin(Pi/m): A010527 (m=3), A010503 (m=4), A019845 (m=5), A323601 (m=7), A182168 (m=8), A019829 (m=9), A019827 (m=10), A019824 (m=12), A232736 (m=14), A019821 (m=15), A232738 (m=16), A241243 (m=17), A019819 (m=18), A019818 (m=20), A343054 (m=24), A019815 (m=30), this sequence (m=32), A019814 (m=36).

Programs

  • Mathematica
    RealDigits[Sin[Pi/32], 10, 100, -1][[1]] (* Amiram Eldar, Apr 27 2021 *)
  • PARI
    imag(I^(1/16))
    
  • PARI
    sin(Pi/32)
    
  • PARI
    sqrt(2-sqrt(2+sqrt(2+sqrt(2))))/2
    
  • Sage
    numerical_approx(sin(pi/32), digits=123) # G. C. Greubel, Sep 30 2022

Formula

Equals (1/2) * sqrt(2-sqrt(2+sqrt(2+sqrt(2)))).
One of the 16 real roots of -128*x^2 +2688*x^4 -21504*x^6 +84480*x^8 +32768*x^16 -131072*x^14 +212992*x^12 -180224*x^10 +1 =0. - R. J. Mathar, Aug 29 2025
Showing 1-4 of 4 results.