|
|
A015086
|
|
Carlitz-Riordan q-Catalan numbers (recurrence version) for q=5.
|
|
23
|
|
|
1, 1, 6, 161, 20466, 12833546, 40130703276, 627122621447281, 48995209411107768186, 19138851672289046707772366, 37380607950584029444762130426196
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
a(n+1) = Sum_{i=0..n} q^i*a(i)*a(n-i) with q=5 and a(0)=1.
G.f. satisfies: A(x) = 1 / (1 - x*A(5*x)) = 1/(1-x/(1-5*x/(1-5^2*x/(1-5^3*x/(1-...))))) (continued fraction). - Seiichi Manyama, Dec 26 2016
|
|
EXAMPLE
|
G.f. = 1 + x + 6*x^2 + 161*x^3 + 20466*x^4 + 12833546*x^5 + 40130703276*x^6 + ...
|
|
MATHEMATICA
|
a[n_] := a[n] = Sum[5^i*a[i]*a[n -i -1], {i, 0, n -1}];
m = 11; ContinuedFractionK[If[i == 1, 1, -5^(i - 2) x], 1, {i, 1, m}] + O[x]^m // CoefficientList[#, x]& (* Jean-François Alcover, Nov 17 2019 *)
|
|
PROG
|
(Ruby)
def A(q, n)
ary = [1]
(1..n).each{|i| ary << (0..i - 1).inject(0){|s, j| s + q ** j * ary[j] * ary[i - 1 - j]}}
ary
end
A(5, n)
|
|
CROSSREFS
|
Cf. A015108 (q=-11), A015107 (q=-10), A015106 (q=-9), A015105 (q=-8), A015103 (q=-7), A015102 (q=-6), A015100 (q=-5), A015099 (q=-4), A015098 (q=-3), A015097 (q=-2), A090192 (q=-1), A000108 (q=1), A015083 (q=2), A015084 (q=3), A015085 (q=4), this sequence (q=5), A015089 (q=6), A015091 (q=7), A015092 (q=8), A015093 (q=9), A015095 (q=10), A015096 (q=11).
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|