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.

A157127 A transform of the Catalan numbers with a simple Hankel transform.

Original entry on oeis.org

1, 0, -1, -1, 1, 2, 1, -3, -5, -1, 11, 15, -5, -44, -41, 51, 169, 85, -303, -611, -15, 1513, 2021, -1271, -6827, -5673, 10361, 28301, 10141, -61102, -107015, 20109, 310387, 356515, -354349, -1421913, -936805, 2567875, 5930631, 972819, -14696329
Offset: 0

Views

Author

Paul Barry, Feb 23 2009

Keywords

Comments

Hankel transform is A157128. Partial sums of A157125.

Formula

G.f.: (sqrt(1+x^2+4x^3)-sqrt(1+x^2))/(2*sqrt(1+x^2));
a(n)=sum{k=0..n, A157125(k)};

A308293 Lexicographically earliest sequence of positive terms such that a(1) = 1, a(2) = 2, and for any n > 0, (abs(a(n+2)-a(n)), abs(a(n+2)-a(n+1))) is unique.

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, May 19 2019

Keywords

Comments

This sequence shows chaotic behavior (see scatterplot in Links section).
This behavior is determined by the choice of the two leading terms.
The variant, say b, with b(1) = b(2) = 1, corresponds to the natural numbers interspersed with pairs of ones: 1,1,1, 2,1,1, 3,1,1, etc. (b(n) = abs(A157128(n))).

Examples

			The first terms, alongside (abs(a(n+2)-a(n)), abs(a(n+2)-a(n+1))), are:
  n   a(n)  (abs(a(n+2)-a(n)),abs(a(n+2)-a(n+1)))
  --  ----  -------------------------------------
   1     1  (0,1)
   2     2  (1,0)
   3     1  (0,0)
   4     1  (1,1)
   5     1  (2,1)
   6     2  (1,2)
   7     3  (2,0)
   8     1  (2,2)
   9     1  (0,2)
  10     3  (1,3)
  11     1  (0,3)
  12     4  (3,0)
  13     1  (3,3)
  14     1  (4,1)
  15     4  (3,4)
		

Crossrefs

See A080427 for a simpler variant.
Cf. A157128.

Programs

  • C
    See Links section.
Showing 1-2 of 2 results.