OFFSET
1,2
COMMENTS
Concatenate all the permutations of 1..n in lexicographical order. a(n) is the number of ascending runs. [David Scambler, May 26 2011]
FORMULA
a(n) = A074143(n) + 1 for n >= 2. - Georg Fischer, May 15 2024
MAPLE
seq(floor(n*n!/2 + 1), n=1..20);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Apr 24 2003
EXTENSIONS
Definition corrected by Georg Fischer, May 15 2024
STATUS
approved