OFFSET
0,2
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..400
FORMULA
G.f. A(q) = Sum_{n>=0} a(n)*q^n satisfies the following formulas.
(1) -2 = Product_{n>=0} (1 - 3*q^n*A(q)).
(2) -2 = Sum_{n>=0} (-3)^n * q^(n*(n-1)/2) * A(q)^n / Product_{k=1..n} (1 - q^k).
(3) A(q) = lim_{n->oo} R_{n}(q) / R_{n+1}(q) where R_{n}(q) = faq(n,q) * [x^n] 3/(1 + 2*e_q(3*x,q)), e_q(x,q) is the q-exponential of x and faq(n,q) is the q-factorial of n.
a(n) ~ c * d^n / n^(3/2), where d = 10.3914965886269147720490605009350781702243358825286425537327254915874... and c = 0.49970395101356434785108820969954986510927554236884857759717688447784... - Vaclav Kotesovec, Feb 18 2024
EXAMPLE
G.f.: A(q) = 1 + 2*q + 12*q^2 + 78*q^3 + 570*q^4 + 4434*q^5 + 36174*q^6 + 305142*q^7 + 2640612*q^8 + 23311068*q^9 + 209111736*q^10 + ...
where A(q) satisfies the infinite product
-2 = (1 - 3*A(q)) * (1 - 3*q*A(q)) * (1 - 3*q^2*A(q)) * (1 - 3*q^3*A(q)) * (1 - 3*q^4*A(q)) * (1 - 3*q^5*A(q)) * ...
MATHEMATICA
(* Calculation of constants {d, c}: *) With[{m = 3}, {1/r, -s*Log[r] * Sqrt[r*Derivative[0, 1][QPochhammer][m*s, r] / (2*Pi*(m - 1)*QPolyGamma[1, Log[m*s]/Log[r], r])]} /. FindRoot[{m + QPochhammer[m*s, r] == 1, Log[1 - r] + QPolyGamma[0, Log[m*s]/Log[r], r] == 0}, {r, 1/m^2}, {s, 2}, WorkingPrecision -> 70]] (* Vaclav Kotesovec, Feb 18 2024 *)
PROG
(PARI) /* A(q) satisfies -2 = Product_{n>=0} (1 - 3*q^n*A(q)) */
{a(n) = my(A=[1]); for(i=1, n, A = concat(A, 0);
A[#A] = polcoeff( 2 + prod(k=0, #A, 1 - 3*x^k*Ser(A)) /3, #A-1, x) ); H=A; A[n+1]}
for(n=0, 30, print1(a(n), ", "))
(PARI) /* limit_{n->oo} R_{n}(q) / R_{n+1}(q) */
{faq(n, q) = prod(j=1, n, (q^j-1)/(q-1))} \\ q-factorial of n
{R(n) = faq(n, q) * polcoeff( 3/(1 + 2*sum(m=0, n, (3*x)^m/faq(m, q) + x*O(x^(n+2)))), n, x)}
{a(n) = polcoeff(R(n+2)/R(n+3) + q*O(q^n), n, q)}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Feb 18 2024
STATUS
approved