login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A180112
Number of permutations of 1..n with the Sum_{i=1..n} of (i-p(i))^2 < (n-1)*n*(n+1)/6.
0
1, 3, 11, 57, 360, 2428, 19692, 178096, 1814400, 19748160, 237351468, 3091307829, 43589145600, 650470873262, 10415387654044, 177171175431551, 3201186852864000, 60647963017860105, 1213361365706836584, 25488014447816087399, 562000363888803840000
OFFSET
2,2
FORMULA
a(n) = A000142(n)/2 - A056876(n)/2. - Alois P. Heinz, May 07 2013
CROSSREFS
Sequence in context: A052442 A217034 A330351 * A188458 A212435 A001586
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 10 2010
EXTENSIONS
a(16)-a(19) from Robert Gerbicz, Nov 27 2010
a(20)-a(22) from Alois P. Heinz, May 07 2013
STATUS
approved