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-10 of 45 results. Next

A014176 Decimal expansion of the silver mean, 1+sqrt(2).

Original entry on oeis.org

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

Views

Author

Keywords

Comments

From Hieronymus Fischer, Jan 02 2009: (Start)
Set c:=1+sqrt(2). Then the fractional part of c^n equals 1/c^n, if n odd. For even n, the fractional part of c^n is equal to 1-(1/c^n).
c:=1+sqrt(2) satisfies c-c^(-1)=floor(c)=2, hence c^n + (-c)^(-n) = round(c^n) for n>0, which follows from the general formula of A001622.
1/c = sqrt(2)-1.
See A001622 for a general formula concerning the fractional parts of powers of numbers x>1, which satisfy x-x^(-1)=floor(x).
Other examples of constants x satisfying the relation x-x^(-1)=floor(x) include A001622 (the golden ratio: where floor(x)=1) and A098316 (the "bronze" ratio: where floor(x)=3). (End)
In terms of continued fractions the constant c can be described by c=[2;2,2,2,...]. - Hieronymus Fischer, Oct 20 2010
Side length of smallest square containing five circles of diameter 1. - Charles R Greathouse IV, Apr 05 2011
Largest radius of four circles tangent to a circle of radius 1. - Charles R Greathouse IV, Jan 14 2013
An analog of Fermat theorem: for prime p, round(c^p) == 2 (mod p). - Vladimir Shevelev, Mar 02 2013
n*(1+sqrt(2)) is the perimeter of a 45-45-90 triangle with hypotenuse n. - Wesley Ivan Hurt, Apr 09 2016
This algebraic integer of degree 2, with minimal polynomial x^2 - 2*x - 1, is also the length ratio diagonal/side of the second largest diagonal in the regular octagon (not counting the side). The other two diagonal/side ratios are A179260 and A121601. - Wolfdieter Lang, Oct 28 2020
c^n = A001333(n) + A000129(n) * sqrt(2). - Gary W. Adamson, Apr 26 2023
c^n = c * A000129(n) + A000129(n-1), where c = 1 + sqrt(2). - Gary W. Adamson, Aug 30 2023

Examples

			2.414213562373095...
		

References

  • B. C. Berndt, Ramanujan's Notebooks Part II, Springer-Verlag, p. 140, Entry 25.

Crossrefs

Apart from initial digit the same as A002193.
See A098316 for [3;3,3,...]; A098317 for [4;4,4,...]; A098318 for [5;5,5,...]. - Hieronymus Fischer, Oct 20 2010

Programs

  • Maple
    Digits:=100: evalf(1+sqrt(2)); # Wesley Ivan Hurt, Apr 09 2016
  • Mathematica
    RealDigits[1 + Sqrt@ 2, 10, 111] (* Or *)
    RealDigits[Exp@ ArcSinh@ 1, 10, 111][[1]] (* Robert G. Wilson v, Aug 17 2011 *)
    Circs[n_] := With[{r = Sin[Pi/n]/(1 - Sin[Pi/n])}, Graphics[Append[
      Table[Circle[(r + 1) {Sin[2 Pi k/n], Cos[2 Pi k/n]}, r], {k, n}],   {Blue, Circle[{0, 0}, 1]}]]] Circs[4] (* Charles R Greathouse IV, Jan 14 2013 *)
  • PARI
    1+sqrt(2) \\ Charles R Greathouse IV, Jan 14 2013

Formula

Conjecture: 1+sqrt(2) = lim_{n->oo} A179807(n+1)/A179807(n).
Equals cot(Pi/8) = tan(Pi*3/8). - Bruno Berselli, Dec 13 2012, and M. F. Hasler, Jul 08 2016
Silver mean = 2 + Sum_{n>=0} (-1)^n/(P(n-1)*P(n)), where P(n) is the n-th Pell number (A000129). - Vladimir Shevelev, Feb 22 2013
Equals exp(arcsinh(1)) which is exp(A091648). - Stanislav Sykora, Nov 01 2013
Limit_{n->oo} exp(asinh(cos(Pi/n))) = sqrt(2) + 1. - Geoffrey Caveney, Apr 23 2014
exp(asinh(cos(Pi/2 - log(sqrt(2)+1)*i))) = exp(asinh(sin(log(sqrt(2)+1)*i))) = i. - Geoffrey Caveney, Apr 23 2014
Equals Product_{k>=1} A047621(k) / A047522(k) = (3/1) * (5/7) * (11/9) * (13/15) * (19/17) * (21/23) * ... . - Dimitris Valianatos, Mar 27 2019
From Wolfdieter Lang, Nov 10 2023:(Start)
Equals lim_{n->oo} A000129(n+1)/A000129(n) (see A000129, Pell).
Equals lim_{n->oo} S(n+1, 2*sqrt(2))/S(n, 2*sqrt(2)), with the Chebyshev S(n,x) polynomial (see A049310). (End)
From Peter Bala, Mar 24 2024: (Start)
An infinite family of continued fraction expansions for this constant can be obtained from Berndt, Entry 25, by setting n = 1/2 and x = 8*k + 6 for k >= 0.
For example, taking k = 0 and k = 1 yields
sqrt(2) + 1 = 15/(6 + (1*3)/(12 + (5*7)/(12 + (9*11)/(12 + (13*15)/(12 + ... + (4*n + 1)*(4*n + 3)/(12 + ... )))))) and
sqrt(2) + 1 = (715/21) * 1/(14 + (1*3)/(28 + (5*7)/(28 + (9*11)/(28 + (13*15)/(28 + ... + (4*n + 1)*(4*n + 3)/(28 + ... )))))). (End)

A014445 Even Fibonacci numbers; or, Fibonacci(3*n).

Original entry on oeis.org

0, 2, 8, 34, 144, 610, 2584, 10946, 46368, 196418, 832040, 3524578, 14930352, 63245986, 267914296, 1134903170, 4807526976, 20365011074, 86267571272, 365435296162, 1548008755920, 6557470319842, 27777890035288, 117669030460994, 498454011879264, 2111485077978050
Offset: 0

Views

Author

Keywords

Comments

a(n) = 3^n*b(n;2/3) = -b(n;-2), but we have 3^n*a(n;2/3) = F(3n+1) = A033887 and a(n;-2) = F(3n-1) = A015448, where a(n;d) and b(n;d), n=0,1,...,d, denote the so-called delta-Fibonacci numbers (the argument "d" of a(n;d) and b(n;d) is abbreviation of the symbol "delta") defined by the following equivalent relations: (1 + d*((sqrt(5) - 1)/2))^n = a(n;d) + b(n;d)*((sqrt(5) - 1)/2) equiv. a(0;d)=1, b(0;d)=0, a(n+1;d) = a(n;d) + d*b(n;d), b(n+1;d) = d*a(n;d) + (1-d)b(n;d) equiv. a(0;d)=a(1;d)=1, b(0;1)=0, b(1;d)=d, and x(n+2;d) + (d-2)*x(n+1;d) + (1-d-d^2)*x(n;d) = 0 for every n=0,1,...,d, and x=a,b equiv. a(n;d) = Sum_{k=0..n} C(n,k)*F(k-1)*(-d)^k, and b(n;d) = Sum_{k=0..n} C(n,k)*(-1)^(k-1)*F(k)*d^k equiv. a(n;d) = Sum_{k=0..n} C(n,k)*F(k+1)*(1-d)^(n-k)*d^k, and b(n;d) = Sum_{k=1..n} C(n;k)*F(k)*(1-d)^(n-k)*d^k. The sequences a(n;d) and b(n;d) for special values d are connected with many known sequences: A000045, A001519, A001906, A015448, A020699, A033887, A033889, A074872, A081567, A081568, A081569, A081574, A081575, A163073 (see also the papers of Witula et al.). - Roman Witula, Jul 12 2012
For any odd k, Fibonacci(k*n) = sqrt(Fibonacci((k-1)*n) * Fibonacci((k+1)*n) + Fibonacci(n)^2). - Gary Detlefs, Dec 28 2012
The ratio of consecutive terms approaches the continued fraction 4 + 1/(4 + 1/(4 +...)) = A098317. - Hal M. Switkay, Jul 05 2020

Examples

			G.f. = 2*x + 8*x^2 + 34*x^3 + 144*x^4 + 610*x^5 + 2584*x^6 + 10946*x^7 + ...
		

References

  • Arthur T. Benjamin and Jennifer J. Quinn,, Proofs that really count: the art of combinatorial proof, M.A.A., 2003, id. 232.

Crossrefs

Programs

Formula

a(n) = Sum_{k=0..n} binomial(n, k)*F(k)*2^k. - Benoit Cloitre, Oct 25 2003
From Lekraj Beedassy, Jun 11 2004: (Start)
a(n) = 4*a(n-1) + a(n-2), with a(-1) = 2, a(0) = 0.
a(n) = 2*A001076(n).
a(n) = (F(n+1))^3 + (F(n))^3 - (F(n-1))^3. (End)
a(n) = Sum_{k=0..floor((n-1)/2)} C(n, 2*k+1)*5^k*2^(n-2*k). - Mario Catalani (mario.catalani(AT)unito.it), Jul 22 2004
a(n) = Sum_{k=0..n} F(n+k)*binomial(n, k). - Benoit Cloitre, May 15 2005
O.g.f.: 2*x/(1 - 4*x - x^2). - R. J. Mathar, Mar 06 2008
a(n) = second binomial transform of (2,4,10,20,50,100,250). This is 2* (1,2,5,10,25,50,125) or 5^n (offset 0): *2 for the odd numbers or *4 for the even. The sequences are interpolated. Also a(n) = 2*((2+sqrt(5))^n - (2-sqrt(5))^n)/sqrt(20). - Al Hakanson (hawkuu(AT)gmail.com), May 02 2009
a(n) = 3*F(n-1)*F(n)*F(n+1) + 2*F(n)^3, F(n)=A000045(n). - Gary Detlefs, Dec 23 2010
a(n) = (-1)^n*3*F(n) + 5*F(n)^3, n >= 0. See the D. Jennings formula given in a comment on A111125, where also the reference is given. - Wolfdieter Lang, Aug 31 2012
With L(n) a Lucas number, F(3*n) = F(n)*(L(2*n) + (-1)^n) = (L(3*n+1) + L(3*n-1))/5 starting at n=1. - J. M. Bergot, Oct 25 2012
a(n) = sqrt(Fibonacci(2*n)*Fibonacci(4*n) + Fibonacci(n)^2). - Gary Detlefs, Dec 28 2012
For n > 0, a(n) = 5*F(n-1)*F(n)*F(n+1) - 2*F(n)*(-1)^n. - J. M. Bergot, Dec 10 2015
a(n) = -(-1)^n * a(-n) for all n in Z. - Michael Somos, Nov 15 2018
a(n) = (5*Fibonacci(n)^3 + Fibonacci(n)*Lucas(n)^2)/4 (Ferns, 1967). - Amiram Eldar, Feb 06 2022
a(n) = 2*i^(n-1)*S(n-1,-4*i), with i = sqrt(-1), and the Chebyshev S-polynomials (see A049310) with S(-1, x) = 0. From the simplified trisection formula. - Gary Detlefs and Wolfdieter Lang, Mar 04 2023
E.g.f.: 2*exp(2*x)*sinh(sqrt(5)*x)/sqrt(5). - Stefano Spezia, Jun 03 2024
a(n) = 2*F(n) + 3*Sum_{k=0..n-1} F(3*k)*F(n-k). - Yomna Bakr and Greg Dresden, Jun 10 2024

A098316 Decimal expansion of [3, 3, ...] = (3 + sqrt(13))/2.

Original entry on oeis.org

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

Views

Author

Eric W. Weisstein, Sep 02 2004

Keywords

Comments

For reasons following from the formula section, this constant could be called "the bronze ratio". For this, compare with A001622 and A014176.
If c is this constant and n > 0, then for n even, c^n = [A100230(n), 1, A100230(n)-1, 1, A100230(n)-1, 1, A100230(n)-1, 1, ...], for n odd, c^n = [A100230(n)+1, A100230(n)+1, A100230(n)+1, ...]. - Gerald McGarvey, Dec 15 2007
This is the shape of a 3-extension rectangle; see A188640 for definitions. - Clark Kimberling, Apr 10 2011
From Vladimir Shevelev, Mar 02 2013: (Start)
An analog of Fermat theorem: for prime p, round(c^p) == 3 (mod p).
A generalization for "metallic" constants c_N = (N+sqrt(N^2+4))/2, N>=1: for prime p, round((c_N)^p) == N (mod p). (End)
This is the positive real algebraic number c of degree 2 with minimal polynomial x^3 - x - 1. The other negative root is 3 - c. - Wolfdieter Lang, Aug 29 2022
c^n = c*A006190(n) + A006190(n-1). - Gary W. Adamson, Apr 02 2024

Examples

			3.30277563...
		

Crossrefs

Programs

Formula

3 plus the constant in A085550. - R. J. Mathar, Sep 02 2008
From Hieronymus Fischer, Jan 02 2009: (Start)
Set c:=(3+sqrt(13))/2. Then the fractional part of c^n equals 1/c^n, if n odd. For even n, the fractional part of c^n is equal to 1-(1/c^n).
c:=(3+sqrt(13))/2 satisfies c-c^(-1)=floor(c)=3, hence c^n + (-c)^(-n) = round(c^n) for n>0, which follows from the general formula of A001622.
1/c=(sqrt(13)-3)/2.
See A001622 for a general formula concerning the fractional parts of powers of numbers x>1, which satisfy x-x^(-1)=floor(x).
Other examples of constants x satisfying the relation x-x^(-1)=floor(x) include A001622 (the golden ratio: where floor(x)=1) and A014176 (the silver ratio: where floor(x)=2). (End)
c=3+sum{k>=1}(-1)^(k-1)/(A006190(k)*A006190(k+1)). - Vladimir Shevelev, Feb 23 2013
A generalization for "metallic" constants c_N = (N+sqrt(N^2+4))/2, N>=1. Let {A_N(n), n>=0} be the sequence 0, 1, N, N^2+1, N^3+2*N, N^4+3*N^2+1,..., a(N) = N*a(N-1) + a(N-2). Then c_N = N + sum_{n>=1} (-1)^(n-1)/(A_N(n)*A_N(n+1)) (cf. A001622, A014176, A098316, A098317, A098318). - Vladimir Shevelev, Feb 23 2013
Equals lim_{n->oo} S(n, sqrt(13))/S(n-1, sqrt(13)), with the S-Chebyshev polynomial (see A049310). - Wolfdieter Lang, Nov 15 2023

A139339 Decimal expansion of the square root of the golden ratio.

Original entry on oeis.org

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

Views

Author

Mohammad K. Azarian, Apr 14 2008

Keywords

Comments

The hyperbolas x^2 - y^2 = 1 and xy = 1 meet at (c, 1/c) and (-c, -1/c), where c = sqrt(golden ratio); see the Mathematica program for a graph. - Clark Kimberling, Oct 19 2011
An algebraic integer of degree 4. Minimal polynomial: x^4 - x^2 - 1. - Charles R Greathouse IV, Jan 07 2013
Also the limiting value of the ratio of the slopes of the tangents drawn to the function y=sqrt(x) from the abscissa F(n) points (where F(n)=A000045(n) are the Fibonacci numbers and n > 0). - Burak Muslu, Apr 04 2021
The length of the base of the isosceles triangle of smallest perimeter which circumscribes a unit-diameter semicircle (DeTemple, 1992). - Amiram Eldar, Jan 22 2022
The unique real solution to arcsec(x) = arccot(x). - Wolfe Padawer, Apr 14 2023

Examples

			1.2720196495140689642524224617374914917156080418400...
		

References

  • B. Muslu, Sayılar ve Bağlantılar 2, Luna, 2021, pages 45-48.

Crossrefs

Cf. A000045, A001622, A094214, A104457, A098317, A002390; A197762 (related intersection of hyperbolas).

Programs

  • Maple
    Digits:=100: evalf(sqrt((1+sqrt(5))/2)); # Muniru A Asiru, Sep 11 2018
  • Mathematica
    N[Sqrt[GoldenRatio], 100]
    FindRoot[x*Sqrt[-1 + x^2] == 1, {x, 1.2, 1.3}, WorkingPrecision -> 110]
    Plot[{Sqrt[-1 + x^2], 1/x}, {x, 0, 3}] (* Clark Kimberling, Oct 19 2011 *)
  • PARI
    sqrt((1+sqrt(5))/2) \\ Charles R Greathouse IV, Jan 07 2013
    
  • PARI
    a(n) = sqrtint(10^(2*n-2)*quadgen(5))%10; \\ Chittaranjan Pardeshi, Aug 24 2024

Formula

Equals sqrt((1 + sqrt(5))/2).
Equals 1/sqrt(A094214). - Burak Muslu, Apr 04 2021
From Amiram Eldar, Feb 07 2022: (Start)
Equals 1/A197762.
Equals tan(arccos(1/phi)).
Equals cot(arcsin(1/phi)). (End)
From Gerry Martens, Jul 30 2023: (Start)
Equals 5^(1/4)*cos(arctan(2)/2).
Equals Re(sqrt(1+2*i)) (the imaginary part is A197762). (End)

A003623 Wythoff AB-numbers: floor(floor(n*phi^2)*phi), where phi = (1+sqrt(5))/2.

Original entry on oeis.org

3, 8, 11, 16, 21, 24, 29, 32, 37, 42, 45, 50, 55, 58, 63, 66, 71, 76, 79, 84, 87, 92, 97, 100, 105, 110, 113, 118, 121, 126, 131, 134, 139, 144, 147, 152, 155, 160, 165, 168, 173, 176, 181, 186, 189, 194, 199, 202, 207, 210, 215, 220, 223, 228, 231, 236, 241, 244, 249
Offset: 1

Views

Author

Keywords

Comments

Previous name was: "From a 3-way splitting of positive integers: [[n*phi^2]*phi]."
Union of A001950 & A003622 & A003623 = A000027.
a(n) is odd if and only if n is odd. - Clark Kimberling, Apr 21 2011
A005614(a(n)-1)=1 and A005614(a(n))=1, n>=1. Because Wythoff AB-numbers (see the formula section) mark the first entry of pairs of 1s in the rabbit sequence A005614(n-1), n>=1. - Wolfdieter Lang, Jun 28 2011
a(n) = k if and only if A270788(k) = 3, where A270788 is the infinite Fibonacci word on {1,2,3}. - Michel Dekking, Sep 07 2016
The asymptotic density of this sequence is 1/phi^3 = phi^3 - 4 = A098317 - 4 = 0.236067... . - Amiram Eldar, Mar 24 2025

References

  • Joe Roberts, Lure of the Integers, Math. Assoc. America, 1992, p. 10.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Let A = A000201, B = A001950. Then AA = A003622, AB = A003623, BA = A035336, BB = A101864.

Programs

  • Maple
    A003623:=proc(n) return floor(floor(n*(3+sqrt(5))/2)*(1+sqrt(5))/2); end:seq(A003623(n),n=1..59); # Nathaniel Johnston, Apr 21 2011
  • Mathematica
    f[n_] := Floor[ GoldenRatio * Floor[ n * GoldenRatio^2]]; Array[f, 47]
    (* another *) Table[n+2Floor[n*GoldenRatio],{n,1,100}]
  • PARI
    a(n)=(n+sqrtint(5*n^2))\2*2+n \\ Charles R Greathouse IV, Jan 25 2022
  • Python
    from sympy import floor
    from mpmath import phi
    def a(n): return floor(n*phi) + floor(n*phi**2) # Indranil Ghosh, Jun 10 2017
    
  • Python
    from math import isqrt
    def A003623(n): return (n+isqrt(5*n**2)&-2)+n # Chai Wah Wu, Aug 25 2022
    

Formula

a(n) = floor(n*phi) + floor(n*phi^2) = A000201(n) + A001950(n).
a(n) = 2*floor(n*phi) + n = 2*A000201(n) + n.
a(n) = A(B(n)) with A(k):=A000201(k) and B(k):=A001950(k), k>=1 (Wythoff AB-numbers).

Extensions

Name improved by Michel Dekking, Sep 07 2016

A010709 Constant sequence: the all 4's sequence.

Original entry on oeis.org

4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
Offset: 0

Views

Author

Keywords

Comments

From Klaus Brockhaus, May 25 2010: (Start)
Continued fraction expansion of 2+sqrt(5).
Decimal expansion of 4/9.
Inverse binomial transform of A020707. (End)

Crossrefs

From Klaus Brockhaus, May 25 2010: (Start)
Equals 4*A000012, 2*A007395, A010731/2, A010855/4, A010871/8.
Cf. A098317 (decimal expansion of 2+sqrt(5)), A020707 (2^(n+2)). (End)

Programs

Formula

From Klaus Brockhaus, May 25 2010: (Start)
a(n) = 4.
G.f.: 4/(1-x). (End)
E.g.f.: 4*e^x. - Vincenzo Librandi, Jan 29 2012

A014565 Decimal expansion of rabbit constant.

Original entry on oeis.org

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

Views

Author

Eric W. Weisstein, Dec 11 1999

Keywords

Comments

Davison shows that the continued fraction is (essentially) A000301 and proves that this constant is transcendental. - Charles R Greathouse IV, Jul 22 2013
Using Davison's result we can find an alternating series representation for the rabbit constant r as r = 1 - sum {n >= 1} (-1)^(n+1)*(1 + 2^Fibonacci(3*n+1))/( (2^(Fibonacci(3*n - 1)) - 1)*(2^(Fibonacci(3*n + 2)) - 1) ). The series converges rapidly: for example, the first 10 terms of the series give a value for r accurate to more than 1.7 million decimal places. See A005614. - Peter Bala, Nov 11 2013
The rabbit constant is the number having the infinite Fibonacci word A005614 as binary expansion; its continued fraction expansion is A000301 = 2^A000045 (after a leading zero, depending on convention). - M. F. Hasler, Nov 10 2018

Examples

			0.709803442861291314641787399444575597012502205767...
		

References

  • Steven R. Finch, Mathematical Constants, Cambridge, 2003, p. 439.
  • M. Schroeder, Fractals, Chaos, Power Laws: Minutes from an Infinite Paradise, New York: W. H. Freeman, 1991.

Crossrefs

Programs

  • Mathematica
    Take[ RealDigits[ Sum[N[1/2^Floor[k*GoldenRatio], 120], {k, 0, 300}]-1][[1]], 103] (* Jean-François Alcover, Jul 28 2011, after Benoit Cloitre *)
    RealDigits[ FromDigits[{Nest[Flatten[# /. {0 -> {1}, 1 -> {1, 0}}] &, {1}, 12], 0}, 2], 10, 111][[1]] (* Robert G. Wilson v, Mar 13 2014 *)
    digits = 103; dm = 10; Clear[xi]; xi[b_, m_] := xi[b, m] = RealDigits[ ContinuedFractionK[1, b^Fibonacci[k], {k, 0, m}], 10, digits] // First; xi[2, dm]; xi[2, m = 2 dm]; While[xi[2, m] != xi[2, m - dm], m = m + dm]; xi[2, m] (* Jean-François Alcover, Mar 04 2015, update for versions 7 and up, after advice from Oleg Marichev *)
  • PARI
    /* fast divisionless routine from fxtbook */
    fa(y, N=17)=
    { my(t, yl, yr, L, R, Lp, Rp);
    /* as powerseries correct up to order fib(N+2)-1 */
      L=0; R=1; yl=1; yr=y;
      for(k=1, N, t=yr; yr*=yl; yl=t; Lp=R; Rp=R+yr*L; L=Lp; R=Rp; );
      return( R )
    }
    a=0.5*fa(0.5) /* Joerg Arndt, Apr 15 2010 */
    
  • PARI
    my(r=1,p=(3-sqrt(5))/2,n=1);while(r>r-=1.>>(n\p),n++);A014565=r \\ M. F. Hasler, Nov 10 2018
    
  • PARI
    my(f(n)=1.<A098317 (=> 298, 1259, 5331, ... digits). - M. F. Hasler, Nov 10 2018

Formula

Equals Sum_{n>=1} 1/2^b(n) where b(n) = floor(n*phi) = A000201(n).
Equals -1 + A073115.
From Peter Bala, Nov 04 2013: (Start)
The results of Adams and Davison 1977 can be used to find a variety of alternative series representations for the rabbit constant r. Here are several examples (phi denotes the golden ratio (1/2)*(1 + sqrt(5))).
r = Sum_{n >= 2} ( floor((n+1)*phi) - floor(n*phi) )/2^n = (1/2)*Sum_{n >= 1} A014675(n)/2^n.
r = Sum_{n >= 1} floor(n/phi)/2^n = Sum_{n >= 1} A005206(n-1)/2^n.
r = ( Sum_{n >= 1} 1/2^floor(n/phi) ) - 2 and r = ( Sum_{n >= 1} floor(n*phi)/2^n ) - 2 = ( Sum_{n >= 1} A000201(n)/2^n ) - 2.
More generally, for integer N >= -1, r = ( Sum_{n >= 1} 1/2^floor(n/(phi + N)) ) - (2*N + 2) and for all integer N, r = ( Sum_{n >= 1} floor(n*(phi + N))/2^n ) - (2*N + 2).
Also r = 1 - Sum_{n >= 1} 1/2^floor(n*phi^2) = 1 - Sum_{n >= 1} 1/2^A001950(n) and r = 1 - Sum_{n >= 1} floor(n*(2 - phi))/2^n = 1 - Sum_{n >= 1} A060144(n)/2^n. (End)

Extensions

More terms from Simon Plouffe, Dec 11 1999

A004921 a(n) = floor(n*phi^6), phi = golden ratio, A001622.

Original entry on oeis.org

0, 17, 35, 53, 71, 89, 107, 125, 143, 161, 179, 197, 215, 233, 251, 269, 287, 305, 322, 340, 358, 376, 394, 412, 430, 448, 466, 484, 502, 520, 538, 556, 574, 592, 610, 628, 645, 663, 681, 699, 717, 735, 753, 771
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [Floor((9+4*Sqrt(5))*n): n in [0..50]]; // G. C. Greubel, Aug 22 2023
    
  • Mathematica
    Floor[GoldenRatio^6*Range[0, 50]] (* G. C. Greubel, Aug 22 2023 *)
  • SageMath
    [floor((9+4*sqrt(5))*n) for n in range(51)] # G. C. Greubel, Aug 22 2023

Formula

From G. C. Greubel, Aug 22 2023: (Start)
a(n) = floor((9 + 4*sqrt(5))*n).
a(n) = floor((A098317)^2*n). (End)

A098318 Decimal expansion of [5, 5, ...] = (5 + sqrt(29))/2.

Original entry on oeis.org

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

Views

Author

Eric W. Weisstein, Sep 02 2004

Keywords

Comments

The "metallic" constants A001622, A014176 etc. are defined inserting a = 1, 2, 3, 4, ... into (a+sqrt(a^2+4))/2. [Stakhov & Aranson] - R. J. Mathar, Feb 14 2011
This is the length/width ratio of a 5-extension rectangle; see A188640 where the metallic constants are defined for rational numbers. - Clark Kimberling, Apr 09 2011

Examples

			5.19258240356725201562535524577016477814756...
		

Crossrefs

Cf. A001622, A014176, A098316, A098317, A010716 (continued fraction).

Programs

  • Magma
    SetDefaultRealField(RealField(100)); (5 + Sqrt(29))/2; // G. C. Greubel, Jun 30 2019
    
  • Mathematica
    r=5; t=(r+(4+r^2)^(1/2))/2; FullSimplify[t]
    N[t,130]
    RealDigits[N[t,130]][[1]]
    ContinuedFraction[t,120] (* Clark Kimberling, Apr 09 2011 *)
  • PARI
    (5 + sqrt(29))/2 \\ Charles R Greathouse IV, Jul 24 2013
    
  • Sage
    numerical_approx((5+sqrt(29))/2, digits=100) # G. C. Greubel, Jun 30 2019

Formula

5 plus the constant in A085551. - R. J. Mathar, Sep 02 2008
c^n = A052918(n-2) + A052918(n-1) * c, where c = (5 + sqrt(29))/2. - Gary W. Adamson, Oct 09 2023
Equals lim_{n->infinity} S(n, sqrt(29))/ S(n-1, sqrt(29)), with the S-Chebyshev polynomials (see A049310). - Wolfdieter Lang, Nov 15 2023

A134859 Wythoff AAA numbers.

Original entry on oeis.org

1, 6, 9, 14, 19, 22, 27, 30, 35, 40, 43, 48, 53, 56, 61, 64, 69, 74, 77, 82, 85, 90, 95, 98, 103, 108, 111, 116, 119, 124, 129, 132, 137, 142, 145, 150, 153, 158, 163, 166, 171, 174, 179, 184, 187, 192, 197, 200, 205, 208, 213, 218, 221, 226, 229, 234, 239, 242
Offset: 1

Views

Author

Clark Kimberling, Nov 14 2007

Keywords

Comments

The lower and upper Wythoff sequences, A and B, satisfy the complementary equations AAA = AB - 2 and AAA = A + B - 2.
Also numbers with suffix string 001, when written in Zeckendorf representation (with leading zero for the first term). - A.H.M. Smeets, Mar 20 2024
The asymptotic density of this sequence is 1/phi^3 = phi^3 - 4 = A098317 - 4 = 0.236067... . - Amiram Eldar, Mar 24 2025

Examples

			Starting with A=(1,3,4,6,8,9,11,12,14,16,17,19,...), we have A(2)=3, so A(A(2))=4, so A(A(A(2)))=6.
		

Crossrefs

Let A = A000201, B = A001950. Then AA = A003622, AB = A003623, BA = A035336, BB = A101864. The eight triples AAA, AAB, ..., BBB are A134859, A134860, A035337, A134862, A134861, A134863, A035338, A134864, resp.
Essentially the same as A095098.

Programs

  • Maple
    # For Maple code for these Wythoff compound sequences see A003622. - N. J. A. Sloane, Mar 30 2016
  • Mathematica
    A[n_] := Floor[n GoldenRatio];
    a[n_] := A@ A@ A@ n;
    a /@ Range[100] (* Jean-François Alcover, Oct 28 2019 *)
  • Python
    from sympy import floor
    from mpmath import phi
    def A(n): return floor(n*phi)
    def a(n): return A(A(A(n))) # Indranil Ghosh, Jun 10 2017
    
  • Python
    from math import isqrt
    def A134859(n): return ((n+isqrt(5*n**2)>>1)-1<<1)+n # Chai Wah Wu, Aug 10 2022

Formula

a(n) = A(A(A(n))), n >= 1, with A=A000201, the lower Wythoff sequence.
a(n) = 2*floor(n*Phi^2) - n - 2 where Phi = (1+sqrt(5))/2. - Benoit Cloitre, Apr 12 2008; R. J. Mathar, Oct 16 2009
a(n) = A095098(n-1), n > 1. - R. J. Mathar, Oct 16 2009
From A.H.M. Smeets, Mar 23 2024: (Start)
a(n) = A(n) + B(n) - 2 (see Clark Kimberling 2008), with A=A000201, B=A001950, the lower and upper Wythoff sequences, respectively.
Equals {A003622}\{A134860} (= Wythoff AA \ Wythoff AAB). (End)

Extensions

Incorrect PARI program removed by R. J. Mathar, Oct 16 2009
Showing 1-10 of 45 results. Next