OFFSET
1,1
COMMENTS
Recurrence would also extend to an a(0) if the definition were made to exclude the identity permutation.
LINKS
R. H. Hardin, Table of n, a(n) for n=1..100
FORMULA
Empirical: a(n)=5*a(n-1)-9*a(n-2)+7*a(n-3)-2*a(n-4) ; G.f.: -x*(-37+112*x-110*x^2+36*x^3) / ( (2*x-1)*(x-1)^3 ).
Empirical: a(n) = (n+4)*(n+1)/2+2^(n+4). - R. J. Mathar, May 26 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, g.f. from R. J. Mathar in the Sequence Fans Mailing List, Jul 19 2010
STATUS
approved