OFFSET
1,1
LINKS
Jocelyn Quaintance, Letter Representations of m x n x p Proper Arrays, arXiv:math/0412244 [math.CO], 2004-2006. See Table 1.
Jocelyn Quaintance, Combinatoric Enumeration of Two-Dimensional Proper Arrays, Discrete Math., 307 (2007), 1844-1864. See Table 1.
FORMULA
From Thomas Scheuerle, Jan 13 2026: (Start)
The generating function A(x) satisfies: (8*x^2 - 1)*A(x)^3 + (12*x^2 - 2*x - 2)*A(x)^2 + (10*x^2 - 1)*A(x) + (8*x^3 + 9*x^2 + 2*x) = 0.
PROG
(PARI)
listA129873(m) = {my(S = t*O(t)); for (n= 1, m+1, S = (- 8*t - 3 - (8*t^4 - t^2)*S^3 - (24*t^3 - 2*t^2 - 4*t)*S^2)/(24*t^2 + 2*t - 3); ); return(vector(m, i, polcoeff(S, i, t))); }
h_even(n, a129873) = {sum(k=1, n, a129873[1+2*n-2*k]*(binomial(3*k-3, k-1)/(2*k-1))); }
h_odd(n, a129873) = {sum(k=1, n, a129873[1+2*n-2*k+1]*(binomial(3*k-3, k-1)/(2*k-1)))+2*sum(r=1, n, (binomial(3*(n-r)+1, n-r)/((n-r)+1))*(binomial(3*r-3, r-1)/(2*r-1))); }
a(n) = {if(n==1, 2, my(a129873 = concat([1], listA129873(n))); if(n%2==0, h_even(n/2, a129873), h_odd((n-1)/2, a129873))); }
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 26 2007
EXTENSIONS
More terms from Thomas Scheuerle, Jan 13 2026
STATUS
approved
