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.

Previous Showing 11-12 of 12 results.

A290759 Square array A(n,k), n>=0, k>=0, read by antidiagonals, where column k is the expansion of continued fraction 1/(1 - x/(1 - k*x/(1 - k^2*x/(1 - k^3*x/(1 - k^4*x/(1 - ...)))))).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 3, 5, 1, 1, 1, 4, 17, 14, 1, 1, 1, 5, 43, 171, 42, 1, 1, 1, 6, 89, 1252, 3113, 132, 1, 1, 1, 7, 161, 5885, 104098, 106419, 429, 1, 1, 1, 8, 265, 20466, 1518897, 25511272, 7035649, 1430, 1, 1, 1, 9, 407, 57799, 12833546, 1558435125, 18649337311, 915028347, 4862, 1
Offset: 0

Views

Author

Ilya Gutkovskiy, Aug 09 2017

Keywords

Comments

This is the transpose of the array in A090182.

Examples

			G.f. of column k: A_k(x) = 1 + x + (k + 1)*x^2 + (k^3 + k^2 + 2*k + 1)*x^3 + (k^6 + k^5 + 2*k^4 + 3*k^3 + 3*k^2 + 3*k + 1)*x^4 + ...
Square array begins:
  1,   1,     1,       1,        1,         1,  ...
  1,   1,     1,       1,        1,         1,  ...
  1,   2,     3,       4,        5,         6,  ...
  1,   5,    17,      43,       89,       161,  ...
  1,  14,   171,    1252,     5885,     20466,  ...
  1,  42,  3113,  104098,  1518897,  12833546,  ...
		

Crossrefs

Main diagonal gives A290777.

Programs

  • Maple
    A:= proc(n, k) option remember; `if`(n=0, 1, add(
          A(j, k)*A(n-j-1, k)*k^j, j=0..n-1))
        end:
    seq(seq(A(n, d-n), n=0..d), d=0..12);  # Alois P. Heinz, Aug 10 2017
  • Mathematica
    Table[Function[k, SeriesCoefficient[1/(1 - x/(1 + ContinuedFractionK[-k^i x, 1, {i, 1, n}])), {x, 0, n}]][j - n], {j, 0, 10}, {n, 0, j}] // Flatten
  • Python
    from sympy.core.cache import cacheit
    @cacheit
    def A(n, k): return 1 if n==0 else sum(A(j, k)*A(n - j - 1, k)*k**j for j in range(n))
    for n in range(13): print([A(k, n - k) for k in range(n + 1)]) # Indranil Ghosh, Aug 10 2017, after Maple code

Formula

G.f. of column k: 1/(1 - x/(1 - k*x/(1 - k^2*x/(1 - k^3*x/(1 - k^4*x/(1 - ...)))))), a continued fraction.

A290777 a(n) = n-th Carlitz-Riordan q-Catalan number (recurrence version) for q = n.

Original entry on oeis.org

1, 1, 3, 43, 5885, 12833546, 583552122727, 667480099386451779, 22507185898866512901924729, 25700910736350654917922270058287454, 1123582754598967452437582737448130799606015691, 2098715344599001562385695830901626594365732485934286582686
Offset: 0

Views

Author

Alois P. Heinz, Aug 10 2017

Keywords

Crossrefs

Main diagonal of A290759.

Programs

  • Maple
    b:= proc(n, k) option remember; `if`(n=0, 1, add(
          b(j, k)*b(n-j-1, k)*k^j, j=0..n-1))
        end:
    a:= n-> b(n$2):
    seq(a(n), n=0..12);
  • Mathematica
    b[n_, k_]:=b[n, k]=If[n==0, 1, Sum[b[j, k] b[n - j - 1, k]*k^j, {j, 0, n - 1}]]; Table[b[n, n], {n, 0, 15}] (* Indranil Ghosh, Aug 10 2017 *)
  • Python
    from sympy.core.cache import cacheit
    @cacheit
    def b(n, k):
        if n == 0:
            return 1
        return sum(b(j, k) * b(n - j - 1, k) * k**j for j in range(n))
    def a(n): return b(n, n)
    print([a(n) for n in range(16)]) # Indranil Ghosh, Aug 10 2017

Formula

a(n) = [x^n] 1/(1-x/(1-n*x/(1-n^2*x/(1-n^3*x/(1-n^4*x/(1- ... )))))).
a(n) = A290759(n,n) = A090182(2n,n).
a(n) ~ n^(n*(n-1)/2). - Vaclav Kotesovec, Aug 19 2017
Previous Showing 11-12 of 12 results.