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

A130880 Decimal expansion of 2*sin(Pi/18).

Original entry on oeis.org

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

Views

Author

R. J. Mathar, Jul 26 2007

Keywords

Comments

Also: a bond percolation threshold probability on the triangular lattice.
Also: the edge length of a regular 18-gon with unit circumradius. Such an m-gon is not constructible using a compass and a straightedge (see A004169). With an even m, in fact, it would be constructible only if the (m/2)-gon were constructible, which is not true in this case (see A272488). - Stanislav Sykora, May 01 2016

Examples

			0.347296355333860697703433253538629592...
		

References

  • John H. Conway and Richard K. Guy, The Book of Numbers, New York: Springer-Verlag, 1996. See p. 207.
  • Steven R. Finch, Mathematical Constants, Encyclopedia of Mathematics and its Applications, vol. 94, Cambridge University Press, 2003, Section 5.18.1, p. 373.

Crossrefs

Edge lengths of nonconstructible n-gons: A272487 (n=7), A272488 (n=9), A272489 (n=11), A272490 (n=13), A255241 (n=14), A272491 (n=19). - Stanislav Sykora, May 01 2016

Programs

  • Mathematica
    RealDigits[N[2Sin[Pi/18], 100]][[1]] (* Robert Price, May 01 2016 *)
  • PARI
    2*sin(Pi/18)

Formula

Equals 2*A019819 = A019829/A019889.
Algebraic number with minimal polynomial over Q equal to x^3 - 3*x + 1, a cyclic cubic, having zeros 2*sin(Pi/18) (= 2*cos(4*Pi/9)), 2*sin(5*Pi/18) (= 2*cos(2*Pi/9)) and -2*sin(7*Pi/18) (= -2*cos(Pi/9)). Cf. A332437. - Peter Bala, Oct 23 2021
Equals 2 + rho(9) - rho(9)^2, an element of the extension field Q(rho(9)), with rho(9) = 2*cos(Pi/9) = A332437 with minimal polynomial x^3 - 3*x - 1 over Q. - Wolfdieter Lang, Sep 20 2022
Equals -1 + Product_{k>=3} (1 - (-1)^k/A063289(k)). - Amiram Eldar, Nov 22 2024
Equals A133749/2 = 1 - A178959. - Hugo Pfoertner, Dec 15 2024

A332438 Decimal expansion of (2*cos(Pi/9))^2 = A332437^2.

Original entry on oeis.org

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

Views

Author

Wolfdieter Lang, Mar 31 2020

Keywords

Comments

This algebraic number rho(9)^2 of degree 3 is a root of its minimal polynomial x^3 - 6*x^2 + 9*x - 1.
The other two roots are x2 = (2*cos(5*Pi/9))^2 = (2*cos(4*Pi/9))^2 = (R(4,rho(9)))^2 = 2 - rho(9) = 0.120614758..., and x3 = (2*cos(7*Pi/9))^2 = (2*cos(7*Pi/9))^2 = (R(7,rho(9)))^2 = 4 + rho(9) - rho(9)^2 = 2.347296355... = A130880 + 2, with rho(9) = 2*cos(Pi/9) = A332437, the monic Chebyshev polynomials R (see A127672), and the computation is done modulo the minimal polynomial of rho(9) which is x^3 - 3*x - 1 (see A187360).
This gives the representation of these roots in the power basis of the simple field extension Q(rho(9)). See the linked W. Lang paper in A187360, sect. 4.
This number rho(9)^2 appears as limit of the quotient of consecutive numbers af various sequences, e.g., A094256 and A094829.
The algebraic number rho(9)^2 - 2 = 1.532088898... of Q(rho(9)) has minimal polynomial x^3 - 3*x + 1 over Q. The other roots are -rho(9) = -A332437 and 2 + rho(9) - rho(9)^2 = A130880. - Wolfdieter Lang, Sep 20 2022

Examples

			3.5320888862379560704047853011108333478716649...
		

Crossrefs

2 + 2*cos(2*Pi/n): A104457 (n = 5), A116425 (n = 7), A296184 (n = 10), A019973 (n = 12).

Programs

  • Mathematica
    RealDigits[(2*Cos[Pi/9])^2, 10, 100][[1]] (* Amiram Eldar, Mar 31 2020 *)
  • PARI
    (2*cos(Pi/9))^2 \\ Michel Marcus, Sep 23 2022

Formula

Equals (2*cos(Pi/9))^2 = rho(9)^2 = A332437^2.
Equals 2 + i^(4/9) - i^(14/9). - Peter Luschny, Apr 04 2020
Equals 2 + w1^(1/3) + w2^(1/3), where w1 = (-1 + sqrt(3)*i)/2 = exp(2*Pi*i/3) and w2 = (-1 - sqrt(3)*i)/2 are the complex roots of x^3 - 1. - Wolfdieter Lang, Sep 20 2022
Constant c = 2 + 2*cos(2*Pi/9). The linear fractional transformation z -> c - c/z has order 9, that is, z = c - c/(c - c/(c - c/(c - c/(c - c/(c - c/(c - c/(c - c/(c - c/(z))))))))). - Peter Bala, May 09 2024
From Amiram Eldar, Nov 22 2024: (Start)
Equals 3 + sec(Pi/9)/2 = 3 + 1/(2*A019879).
Equals 3 + Product_{k>=3} (1 + (-1)^k/A063289(k)). (End)

A266958 Numbers m such that 9*m+13 is a square.

Original entry on oeis.org

-1, 4, 12, 27, 43, 68, 92, 127, 159, 204, 244, 299, 347, 412, 468, 543, 607, 692, 764, 859, 939, 1044, 1132, 1247, 1343, 1468, 1572, 1707, 1819, 1964, 2084, 2239, 2367, 2532, 2668, 2843, 2987, 3172, 3324, 3519, 3679, 3884, 4052, 4267, 4443, 4668, 4852, 5087, 5279, 5524
Offset: 1

Views

Author

Bruno Berselli, Jan 07 2016

Keywords

Comments

Equivalently, numbers of the form h*(9*h+4)-1, where h = 0, -1, 1, -2, 2, -3, 3, -4, 4, ...
Also, integer values of k*(k+4)/9 minus 1.
Is A063289 (after -1) the list of the square roots of 9*a(n)+13?

Crossrefs

Cf. A185039.
Cf. similar sequences listed in A266956.

Programs

  • Magma
    [n: n in [-1..6000] | IsSquare(9*n+13)];
    
  • Magma
    [(18*(n-1)*n+(2*n-1)*(-1)^n-7)/8: n in [1..50]];
  • Mathematica
    Select[Range[-1, 6000], IntegerQ[Sqrt[9 # + 13]] &]
    Table[(18 (n-1) n + (2 n - 1) (-1)^n - 7)/8, {n, 1, 50}]
    LinearRecurrence[{1,2,-2,-1,1},{-1,4,12,27,43},50] (* Harvey P. Dale, Jan 20 2020 *)
  • PARI
    for(n=-1, 6000, if(issquare(9*n+13), print1(n, ", ")))
    
  • PARI
    vector(50, n, n; (18*(n-1)*n+(2*n-1)*(-1)^n-7)/8)
    
  • Python
    from gmpy2 import is_square
    [n for n in range(-1,6000) if is_square(9*n+13)]
    
  • Python
    [(18*(n-1)*n+(2*n-1)*(-1)**n-7)/8 for n in range(1,60)]
    
  • Sage
    [n for n in range(-1,6000) if is_square(9*n+13)]
    
  • Sage
    [(18*(n-1)*n+(2*n-1)*(-1)^n-7)/8 for n in range(1,50)]
    

Formula

G.f.: x*(-1 + 5*x + 10*x^2 + 5*x^3 - x^4)/((1 + x)^2*(1 - x)^3).
a(n) = a(-n+1) = (18*(n-1)*n + (2*n-1)*(-1)^n - 7)/8.
a(n) = A185039(n) + 1.
Showing 1-3 of 3 results.