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.

A289265 Decimal expansion of the real root of x^3 - x^2 - 2 = 0.

Original entry on oeis.org

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

Views

Author

Clark Kimberling, Jul 14 2017

Keywords

Examples

			1.6956207695598620574163671001175353426181793882085077...
		

References

  • D. E. Daykin and S. J. Tucker, Introduction to Dragon Curves, unpublished, 1976, end of section 2. See links in A003229.

Crossrefs

Cf. A078140 (includes guide to constants similar to A289260).

Programs

  • Mathematica
    z = 2000; r = 8/5;
    u = CoefficientList[Series[1/Sum[Floor[(k + 1)*r] (-x)^k, {k, 0, z}], {x, 0, z}], x];  (* A289260 *)
    v = N[u[[z]]/u[[z - 1]], 200]
    RealDigits[v, 10][[1]] (* A289265 *)
  • PARI
    solve(x=1, 2, x^3 - x^2 - 2) \\ Michel Marcus, Oct 26 2019

Formula

r = D^(1/3) + (1/9)*D^(-1/3) + 1/3 where D = 28/27 + (1/9)*sqrt(29*3) [Chang and Zhang] from the usual cubic solution formula. Or similarly r = (1/3)*(1 + C + 1/C) where C = (28 + sqrt(29*27))^(1/3). - Kevin Ryde, Oct 25 2019

A373080 a(n) is the number of binary strings of length n not containing the substrings 0000, 0001, 0011, 0111, 1111.

Original entry on oeis.org

1, 2, 4, 8, 11, 18, 28, 40, 64, 96, 144, 224, 336, 512, 784, 1184, 1808, 2752, 4176, 6368, 9680, 14720, 22416, 34080, 51856, 78912, 120016, 182624, 277840, 422656, 643088, 978336, 1488400, 2264512, 3445072, 5241312, 7974096, 12131456, 18456720, 28079648
Offset: 0

Views

Author

Miquel A. Fiol, Jun 03 2024

Keywords

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{0, 1, 2}, {1, 2, 4, 8, 11, 18, 28}, 50] (* Paolo Xausa, Jun 24 2024 *)

Formula

a(n) = a(n-2) + 2*a(n-3) for n >= 7.
G.f.: -(x+1)^2*(x^2+1)^2/(2*x^3+x^2-1). - Alois P. Heinz, Jun 03 2024
Showing 1-2 of 2 results.