OFFSET
2,3
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..500 (terms n=2..53 from Vincenzo Librandi, n=54..103 from Bruno Berselli)
R. K. Guy, Letter to N. J. A. Sloane, Aug. 1992.
R. K. Guy, Parker's permutation problem involves the Catalan numbers, preprint, 1992. (Annotated scanned copy)
R. K. Guy, Parker's permutation problem involves the Catalan numbers, Amer. Math. Monthly 100 (1993), 287-289.
MAPLE
b:= proc(n, i, t) option remember; `if`(n=0, 1, `if`(n<0
or t*i<n, 0, b(n, i-1, t)+b(n-i, min(i, n-i), t-1)))
end:
a:= n-> b((n-3)*(n+1), n$2):
seq(a(n), n=2..40); # Alois P. Heinz, May 31 2020
MATHEMATICA
s[n_] := s[n] = Series[Product[(1 - q^(2*n - k))/(1 - q^(k + 1)), {k, 0, n - 1}], {q, 0, n^2}]; t[n_, k_] := SeriesCoefficient[s[n], k*(n + 1)]; A007045 = Join[{0}, Table[t[n + 3, n], {n, 0, 25}] ] (* Jean-François Alcover, Apr 25 2012 *)
PROG
(PARI) T(n, k) = polcoeff(prod(j=0, n-1, (1-q^(2*n-j))/(1-q^(j+1)) ), k*(n+1) );
for(n=3, 33, print1(T(n, n-3), ", ")) \\ Petros Hadjicostas, May 31 2020
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
STATUS
approved