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.

A244227 Even bisection of A244226.

Original entry on oeis.org

1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 3, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 3, 1, 2, 1, 2, 1, 1, 1, 2
Offset: 0

Views

Author

Antti Karttunen, Jun 23 2014

Keywords

Comments

Number of integers in the n-th run of successive integers having an "even" representation in the Greedy Catalan Base: A244222.

Crossrefs

One less than A244228.
Differs from A131718 for the first time at n=56, as here a(56) = 3 while A131718(56) = 2.

Programs

Formula

a(n) = A244226(2*n).

A178149 Decimal expansion of (15+sqrt(1365))/30.

Original entry on oeis.org

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

Views

Author

Klaus Brockhaus, May 21 2010

Keywords

Comments

Continued fraction expansion of (15+sqrt(1365))/30 is A131718.

Examples

			(15+sqrt(1365))/30 = 1.73153021346074439972...
		

Crossrefs

Cf. A176322 (decimal expansion of sqrt(1365)), A131718 (repeat 1, 1, 2, 1, 2, 1).

A131017 Period 6: repeat [1, 1, 2, -1, 2, 1].

Original entry on oeis.org

1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2, -1, 2, 1, 1, 1, 2
Offset: 0

Views

Author

Paul Curtz, Sep 23 2007

Keywords

Crossrefs

Programs

  • Mathematica
    Flatten[Table[{1, 1, 2, -1, 2, 1}, {20}]] (* Wesley Ivan Hurt, Jun 24 2022 *)
    PadRight[{},120,{1,1,2,-1,2,1}] (* Harvey P. Dale, Oct 10 2023 *)

Formula

|a(n)| = A131718(n).
a(n) = A131717(n+1) - A131717(n).
O.g.f.: (1+x+2*x^2-x^3+2*x^4+x^5)/((1-x)*(1+x)*(x^2+x+1)*(x^2-x+1)). - R. J. Mathar, Jul 07 2008
a(n) = (3+2*(-1)^n+cos(n*Pi/3)-3*cos(n*Pi/3)^2+3*sin(n*Pi/3)^2)/3. - Wesley Ivan Hurt, Jun 24 2022

Extensions

Edited by R. J. Mathar, Jul 07 2008
Showing 1-3 of 3 results.