OFFSET
1,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..36 (a(1)-a(13) from R. H. Hardin).
EXAMPLE
All solutions for n=3
..3....3....3....3....3....2....1....3....3....2
..2....1....2....2....2....3....3....1....2....3
..3....3....1....3....3....2....2....2....3....1
..2....2....3....1....2....3....3....3....1....3
..1....3....2....2....3....1....2....2....3....2
..3....2....3....3....1....3....3....3....2....3
PROG
(Maxima) a(n):=sum(p!*coeff(expand(product(sum(binomial(k-1, k-j)*(-1)^(k-j)* (t^j/j!), j, 1, k), k, 1, n)), t, p), p, n, n*(n+1)/2); // Tani Akinari, Sep 15 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin May 24 2011
STATUS
approved