OFFSET
0,5
COMMENTS
Each set partition is written as a sequence of blocks, ordered by the smallest elements in the blocks.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..210
Wikipedia, Inversion (discrete mathematics)
Wikipedia, Partition of a set
FORMULA
a(n) = Sum_{k>0} k * A125810(n,k).
EXAMPLE
a(3) = 1: one inversion in 13|2.
a(4) = 10: one inversion in each of 124|3, 13|24, 13|2|4, 1|24|3, and two inversions in each of 134|2, 14|23, 14|2|3.
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Apr 03 2016
STATUS
approved