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.

A187342 Floor(((15+sqrt(5))/11)n); complement of A187341.

Original entry on oeis.org

1, 3, 4, 6, 7, 9, 10, 12, 14, 15, 17, 18, 20, 21, 23, 25, 26, 28, 29, 31, 32, 34, 36, 37, 39, 40, 42, 43, 45, 47, 48, 50, 51, 53, 54, 56, 57, 59, 61, 62, 64, 65, 67, 68, 70, 72, 73, 75, 76, 78, 79, 81, 83, 84, 86, 87, 89, 90, 92, 94, 95, 97, 98, 100, 101, 103, 104, 106, 108, 109, 111, 112, 114, 115, 117, 119, 120, 122, 123, 125
Offset: 1

Views

Author

Clark Kimberling, Mar 08 2011

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Floor[((15+5^(1/2))/11)n], {n,1,80}]
    With[{c=(15+Sqrt[5])/11},Floor[c*Range[80]]] (* Harvey P. Dale, Jul 05 2025 *)

Formula

a(n)=floor(((15+sqrt(5))/11)n).

A292988 Beatty sequence of the real root of 2*x^5 - 9*x^4 + 13*x^3 - 11*x^2 + 5*x - 1; complement of A292987.

Original entry on oeis.org

2, 5, 8, 11, 13, 16, 19, 22, 24, 27, 30, 33, 35, 38, 41, 44, 46, 49, 52, 55, 57, 60, 63, 66, 68, 71, 74, 77, 79, 82, 85, 88, 90, 93, 96, 99, 101, 104, 107, 110, 112, 115, 118, 121, 123, 126, 129, 132, 134, 137, 140, 143, 145, 148, 151, 154, 156, 159, 162, 165, 167, 170, 173, 176, 179
Offset: 1

Views

Author

Iain Fox, Dec 08 2017

Keywords

Comments

First differs from A187341 at n = 21.
First differs from A108589 at n = 65.

Examples

			a(2) = floor(2 * 2.7539...) = floor(5.5078...) = 5.
		

Crossrefs

Complement: A292987.

Programs

  • Mathematica
    r = N[ Root[2#^5 - 9#^4 + 13#^3 - 11#^2 + 5# - 1 &, 1], 64]; Array[ Floor[r #] &, 70] (* Robert G. Wilson v, Dec 10 2017 *)
  • PARI
    a(n) = floor(n*solve(x=2, 3, 2*x^5 - 9*x^4 + 13*x^3 - 11*x^2 + 5*x - 1))

Formula

a(n) = floor(n * r), where r = 2.75393267425618214080...
Showing 1-2 of 2 results.