OFFSET
1,1
FORMULA
Empirical: a(n) = n^3 + n^2 + 3*n - 1.
From G. C. Greubel, May 26 2016: (Start)
Empirical G.f.: x*(x^3 + x + 4)/(1-x)^4.
Empirical E.g.f.: (-1 + 5*x + 4*x^2 + x^3)*exp(x) + 1. (End)
EXAMPLE
Some solutions for n=4
...1.1.2...1.1.1...1.1.1...1.1.1...2.2.1...1.1.1...1.1.1...1.1.2...1.1.1
...1.1.2...2.1.2...1.1.2...1.1.1...2.2.1...1.1.1...1.2.1...2.1.2...2.2.1
...1.2.2...2.2.2...2.2.2...1.1.2...2.2.1...1.2.1...1.2.2...2.1.2...2.2.1
...2.2.2...2.2.2...2.2.2...1.1.2...2.2.2...1.2.1...2.2.2...2.2.2...2.2.2
------
...1.1.1...1.2.2...1.1.1...1.2.2...2.1.1...1.1.1...2.2.1...2.1.2...1.1.1
...1.1.1...2.2.2...1.1.2...1.2.2...2.2.1...1.1.1...2.2.1...2.1.2...1.1.1
...1.1.1...2.2.2...1.1.2...1.2.2...2.2.1...1.1.2...2.2.2...2.1.2...1.1.1
...2.2.1...2.2.2...2.2.2...1.2.2...2.2.2...1.2.2...2.2.2...2.2.2...2.1.1
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Oct 21 2009
STATUS
approved