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

A019863 Decimal expansion of sin(3*Pi/10) (sine of 54 degrees, or cosine of 36 degrees).

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Midsphere radius of regular icosahedron with unit edges.
Also half of the golden ratio (A001622). - Stanislav Sykora, Jan 30 2014
Andris Ambainis (see Aaronson link) observes that combining the results of Barak-Hardt-Haviv-Rao with Dinur-Steurer yields the maximal probability of winning n parallel repetitions of a classical CHSH game (see A201488) asymptotic to this constant to the power of n, an improvement on the naive probability of (3/4)^n. (All the random bits are received upfront but the players cannot communicate or share an entangled state.) - Charles R Greathouse IV, May 15 2014
This is the height h of the isosceles triangle in a regular pentagon, in length units of the circumscribing radius, formed by a side as base and two adjacent radii. h = sin(3*Pi/10) = cos(Pi/5) (radius 1 unit). - Wolfdieter Lang, Jan 08 2018
Also the limiting value(L) of "r" which is abscissa of the vertex of the parabola F(n)*x^2 - F(n+1)*x + F(n + 2)(where F(n)=A000045(n) are the Fibonacci numbers and n>0). - Burak Muslu, Feb 24 2021

Examples

			0.80901699437494742410229341718281905886015458990288143106772431135263...
		

Crossrefs

Platonic solids midradii: A020765 (tetrahedron), A020761 (octahedron), A010503 (cube), A239798 (dodecahedron).

Programs

Formula

Equals (1+sqrt(5))/4 = cos(Pi/5) = sin(3*Pi/10). - R. J. Mathar, Jun 18 2006
Equals 2F1(4/5,1/5;1/2;3/4) / 2 = A019827 + 1/2. - R. J. Mathar, Oct 27 2008
Equals A001622 / 2. - Stanislav Sykora, Jan 30 2014
phi / 2 = (i^(2/5) + i^(-2/5)) / 2 = i^(2/5) - (sin(Pi/5))*i = i^(-2/5) + (sin(Pi/5))*i = i^(2/5) - (cos(3*Pi/10))*i = i^(-2/5) + (cos(3*Pi/10))*i. - Jaroslav Krizek, Feb 03 2014
Equals 1/A134972. - R. J. Mathar, Jan 17 2021
Equals 2*A019836*A019872. - R. J. Mathar, Jan 17 2021
Equals (A094214 + 1)/2 or 1/(2*A094214). - Burak Muslu, Feb 24 2021
Equals hypergeom([-2/5, -3/5], [6/5], -1) = hypergeom([-1/5, 3/5], [6/5], 1) = hypergeom([1/5, -3/5], [4/5], 1). - Peter Bala, Mar 04 2022
Equals Product_{k>=1} (1 - (-1)^k/A001611(k)). - Amiram Eldar, Nov 28 2024
Equals 2*A134944 = 3*A134946 = A187426-11/10 = A296182-1. - Hugo Pfoertner, Nov 28 2024
Equals A134945/4. Root of 4*x^2-2*x-1=0. - R. J. Mathar, Aug 29 2025

A019827 Decimal expansion of sin(Pi/10) (angle of 18 degrees).

Original entry on oeis.org

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

Views

Author

Keywords

Comments

Decimal expansion of cos(2*Pi/5) (angle of 72 degrees).
Also the imaginary part of i^(1/5). - Stanislav Sykora, Apr 25 2012
One of the two roots of 4x^2 + 2x - 1 (the other is the sine of 54 degrees times -1 = -A019863). - Alonso del Arte, Apr 25 2015
This is the height h of the isosceles triangle in a regular pentagon inscribed in a unit circle, formed by a diagonal as base and two adjacent radii. h = cos(2*Pi/5) = sin(Pi/10). - Wolfdieter Lang, Jan 08 2018
Quadratic number of denominator 2 and minimal polynomial 4x^2 + 2x - 1. - Charles R Greathouse IV, May 13 2019
Largest superstable width of the logistic map (see Finch). - Stefano Spezia, Nov 23 2024

Examples

			0.30901699437494742410229341718281905886015458990288143106772431135263...
		

References

  • Steven R. Finch, Mathematical Constants, Encyclopedia of Mathematics and its Applications, vol. 94, Cambridge University Press, 2003, Sections 1.9 and 8.19, pp. 66, 535.

Crossrefs

Programs

Formula

Equals (sqrt(5) - 1)/4 = (phi - 1)/2 = 1/(2*phi), with phi from A001622.
Equals 1/(1 + sqrt(5)). - Omar E. Pol, Nov 15 2007
Equals 1/A134945. - R. J. Mathar, Jan 17 2021
Equals 2*A019818*A019890. - R. J. Mathar, Jan 17 2021
Equals Product_{k>=1} 1 - 1/(phi + phi^k), where phi is the golden ratio (A001622) (Ohtsuka, 2018). - Amiram Eldar, Dec 02 2021
Equals Product_{k>=1} (1 - 1/A055588(k)). - Amiram Eldar, Nov 28 2024
Equals A094214/2 = 1-A187798 = A341332/Pi = (A377697-2)/3. - Hugo Pfoertner, Nov 28 2024
This^2 + A019881^2 = 1. - R. J. Mathar, Aug 31 2025

A134972 Decimal expansion of 2 divided by golden ratio = 2/phi = 4/(1 + sqrt(5)) = 2*(-1 + phi).

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Nov 15 2007

Keywords

Comments

Convergents are 4/2, 8/8, 32/24, 96/80, 320/256, 1024/832, 3328/2688, 10752/8704, 34816/28160, 112640/91136, 364544/294912, 1179648/954368, 3817472/3088384, 12353536/9994240, ... = A209084/A063727. - Seiichi Kirikami, Mar 14 2012
2*(-1 + phi) is an integer in the quadratic number field Q(sqrt(5)). - Wolfdieter Lang, Feb 16 2016

Examples

			1.236067977499789696...
		

Crossrefs

Programs

  • Mathematica
    RealDigits[ N[4/(1+Sqrt[5]), 150] ] [ [1] ] (* Seiichi Kirikami, Mar 14 2012 *)
  • PARI
    4/(1+sqrt(5)) \\ Altug Alkan, Apr 11 2016

Formula

Equals A134945 - 2 = A002163 - 1 = A098317 - 3. - R. J. Mathar, Oct 27 2008
2*(-1 + A001622). - Wolfdieter Lang, Feb 17 2016
Equals the harmonic mean of 1 and phi, 2*phi/(1+phi). - Stanislav Sykora, Apr 11 2016
From Christian Katzmann, Mar 19 2018: (Start)
Equals Sum_{n>=0} (15*(2*n)!-8*n!^2)/(n!^2*3^(2*n+2)).
Equals -1 + Sum_{n>=0} 5*(2*n)!/(n!^2*3^(2*n+1)). (End)
Equals 1/A019863. - R. J. Mathar, Jan 17 2021
Equals 2*sin(Pi/5)/sin(2*Pi/5) = hypergeom([1/5, 3/5], [7/5], 1) = hypergeom([-1/5, -3/5], [3/5], 1). - Peter Bala, Mar 04 2022

A242671 Decimal expansion of k2, a Diophantine approximation constant such that the area of the "critical parallelogram" (in this case a square) is 4*k2.

Original entry on oeis.org

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

Views

Author

Jean-François Alcover, May 20 2014

Keywords

Comments

Quoting Steven Finch: "The slopes of the 'critical parallelogram' are (1+sqrt(5))/2 [phi] and (1-sqrt(5))/2 [-1/phi]."
Essentially the same as A229780, A134972, A134945, A098317 and A002163. - R. J. Mathar, May 23 2014
Let W_n be the collection of all binary words of length n that do not contain two consecutive 0's. Let r_n be the ratio of the total number of 1's in W_n divided by the total number of letters in W_n. Then lim_{n->oo} r_n = 0.723606... Equivalently, lim_{n->oo} A004798(n)/(n*A000045(n+2)) = 0.723606... - Geoffrey Critzer, Feb 04 2022
The limiting frequency of the digit 0 in the base phi representation of real numbers in the range [0,1], where phi is the golden ratio (A001622) (Rényi, 1957). - Amiram Eldar, Mar 18 2025

Examples

			k2 = 0.723606797749978969640917366873127623544...
		

References

  • Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 2.23, p. 176.

Crossrefs

Programs

  • Mathematica
    RealDigits[(1+1/Sqrt[5])/2, 10, 100] // First
  • PARI
    (1 + 1/sqrt(5))/2 \\ Stefano Spezia, Dec 07 2024

Formula

Equals (1 + 1/sqrt(5))/2.
Equals 1/A094874. - Michel Marcus, Dec 01 2018
From Amiram Eldar, Feb 11 2022: (Start)
Equals phi/sqrt(5), where phi is the golden ratio (A001622).
Equals lim_{k->oo} Fibonacci(k+1)/Lucas(k). (End)
From Amiram Eldar, Nov 28 2024: (Start)
Equals A344212/2 = A296184/5 = A300074^2 = sqrt(A229780).
Equals Product_{k>=1} (1 - 1/A081007(k)). (End)
Equals 1 - A244847. - Amiram Eldar, Mar 18 2025

A120615 a(n) = Sum_{k=0..n} floor(phi*floor(k/phi)) where phi = (1+sqrt(5))/2.

Original entry on oeis.org

0, 1, 2, 5, 9, 13, 19, 25, 33, 42, 51, 62, 74, 86, 100, 114, 130, 147, 164, 183, 202, 223, 245, 267, 291, 316, 341, 368, 395, 424, 454, 484, 516, 549, 582, 617, 652, 689, 727, 765, 805, 845, 887, 930, 973, 1018, 1064, 1110, 1158, 1206, 1256, 1307, 1358, 1411
Offset: 1

Views

Author

Benoit Cloitre, Jun 17 2006

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Sum[Floor[GoldenRatio*Floor[k/GoldenRatio]],{k,0,n}],{n,54}] (* or *) Table[n(n-3)/2+Ceiling[n/GoldenRatio],{n,54}] (* James C. McMahon, Oct 07 2024 *)
  • PARI
    phi=(1+sqrt(5))/2;a(n)=n*(n-3)/2+ceil(n/phi)

Formula

a(n) = n*(n-3)/2 + ceiling(n/phi).

A229780 Decimal expansion of (3+sqrt(5))/10.

Original entry on oeis.org

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

Views

Author

Joost Gielen, Sep 29 2013

Keywords

Comments

sqrt((3+sqrt(5))/10) = sqrt(phi^2/5) = (5+sqrt(5))/10 = (3+sqrt(5))/10 + 2/10 = 0.723606797... .
Essentially the same as A134972, A134945, A098317 and A002163. - R. J. Mathar, Sep 30 2013
Equals one tenth of the limit of (G(n+2)+G(n+1)+G(n-1)+G(n-2))/G(n), where G(n) is any nonzero sequence satisfying the recurrence G(n+1) = G(n) + G(n-1) including A000032 and A000045, as n --> infinity. - Richard R. Forberg, Nov 17 2014
3+sqrt(5) is the perimeter of a golden rectangle with a unit width. - Amiram Eldar, May 18 2021
Constant x such that x = sqrt(x) - 1/5. - Andrea Pinos, Jan 15 2024

Examples

			0.5236067977499...
		

Crossrefs

Programs

  • Mathematica
    RealDigits[GoldenRatio^2/5,10,120][[1]] (* Harvey P. Dale, Dec 02 2014 *)

Formula

(3+sqrt(5))/10 = (phi/sqrt(5))^2 = phi^2/5 where phi is the golden ratio.

A171648 a(1) = 1, a(n) = 2*a(n-1) if n is even; a(n) = a(n-1)*Fibonacci((n+1)/2)/Fibonacci((n-1)/2) if n is odd.

Original entry on oeis.org

1, 2, 2, 4, 8, 16, 24, 48, 80, 160, 256, 512, 832, 1664, 2688, 5376, 8704, 17408, 28160, 56320, 91136, 182272, 294912, 589824, 954368, 1908736, 3088384, 6176768, 9994240, 19988480, 32342016, 64684032, 104660992, 209321984, 338690048, 677380096, 1096024064
Offset: 1

Views

Author

Gary W. Adamson, Dec 13 2009

Keywords

Comments

a(n)/a(n-1) apparently tends to phi = A001622 if n=odd; e.g. a(21)/a(20) = 91136/56320 = 1.61818...
a(n)/a(n-2) apparently tends to 1+sqrt(5) = 3.236...= A134945; where a(21)/a(19) = 91136/28160 = 3.23636...
a(1)=1, a(2)=2, a(3)=2, for n>3 a(n)=2*a(n-1) if n is even and a(n)=2*(a(n-1)-a(n-2)+a(n-3)) if n is odd. - Vincenzo Librandi, Dec 06 2010

Examples

			a(8) = 48 = 2*a(7) = 2*24. a(9) = 80 = (5/3)*48 since Fibonacci(5) = 5 and Fibonacci(4) = 3.
		

Crossrefs

Cf. A063727 (bisection), A103435 (bisection).

Programs

  • PARI
    Vec(x*(1+2*x)/(1-2*x^2-4*x^4) + O(x^50)) \\ Colin Barker, Aug 02 2016

Formula

a(1) = 1, a(n) = 2*a(n-1) if n is even; a(n) = a(n-1)*A000045((n+1)/2)/A000045((n-1)/2) if n is odd.
From Colin Barker, Aug 02 2016: (Start)
a(n) = 2*a(n-2) + 4*a(n-4) for n>4.
G.f.: x*(1+2*x) / (1-2*x^2-4*x^4).
(End)

Extensions

Defined "F", removed abundant parentheses, added punctuation to examples, added a factor to the definition, corrected a(13) and added more terms - R. J. Mathar, Dec 15 2009

A337301 Triangle read by rows in which row n lists the closest integers to diagonal lengths of regular n-gon with unit edge length, n >= 4.

Original entry on oeis.org

1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 3, 3, 3, 2, 2, 3, 3, 3, 3, 3, 2, 2, 3, 3, 4, 4, 3, 3, 2, 2, 3, 3, 4, 4, 4, 3, 3, 2, 2, 3, 3, 4, 4, 4, 4, 3, 3, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 3, 2, 2, 3, 4, 4, 5, 5, 5, 5, 4, 4, 3, 2, 2, 3, 4, 4, 5, 5, 5, 5, 5, 4, 4, 3, 2
Offset: 4

Views

Author

Mohammed Yaseen, Aug 22 2020

Keywords

Examples

			Triangle begins:
1;
2, 2;
2, 2, 2;
2, 2, 2, 2;
2, 2, 3, 2, 2;
2, 3, 3, 3, 3, 2;
2, 3, 3, 3, 3, 3, 2;
2, 3, 3, 4, 4, 3, 3, 2;
2, 3, 3, 4, 4, 4, 3, 3, 2;
2, 3, 3, 4, 4, 4, 4, 3, 3, 2;
2, 3, 4, 4, 4, 4, 4, 4, 4, 3, 2;
2, 3, 4, 4, 5, 5, 5, 5, 4, 4, 3, 2;
2, 3, 4, 4, 5, 5, 5, 5, 5, 4, 4, 3, 2;
...
Row n lists the closest integers to the length of the diagonals drawn from a fixed vertex of a regular n-gon with unit edge length, n >= 4.
The lengths of the diagonals drawn from vertex A of a regular 8-gon ABCDEFGH with unit edge length are:
AC = 1.84775...
AD = 2.41421...
AE = 2.61312...
AF = 2.41421...
AG = 1.84775...
So the row for n=8 is 2, 2, 3, 2, 2.
		

Crossrefs

Cf. A064313.
Decimal expansion of diagonal lengths of regular n-gons with unit edge length:
n=4 A002193.
n=5 A001622.
n=9 A332437.
n=11 A231186.

Programs

  • Mathematica
    T[n_,k_]:=Round[Sin[(k+1)*Pi/n]/Sin[Pi/n]]; Flatten[Table[T[n,k],{n,4,16},{k,1,n-3}]] (* Stefano Spezia, Sep 07 2020 *)

Formula

T(n,k) = round(sin((k+1)*Pi/n)/sin(Pi/n)), n >= 4, 1 <= k <= n-3.
Showing 1-8 of 8 results.