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..45
FORMULA
Empirical: a(n)=14*a(n-1)-85*a(n-2)+294*a(n-3)-639*a(n-4)+906*a(n-5)-839*a(n-6)+490*a(n-7)-164*a(n-8)+24*a(n-9) ; G.f.: -x*(1289-13187*x+58154*x^2-144731*x^3+222774*x^4-217511*x^5+131690*x^6-45220*x^7+6744*x^8) / ( (-1+3*x)*(2*x-1)^3*(x-1)^5 ).
Empirical: a(n) = 3^(n+6) +(n+6)*(n^3-12*n^2-133*n-192)/24 +(n^2-n-50)*2^(n+3). - 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