Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

sumerKing's blog

By sumerKing, history, 5 years ago, In English

This formula:$$$A(n, m) = \sum_{i = 0}^{m} (-1)^i {n + 1 \choose i}(m + 1 - i)^n$$$

Eulerian number is the number of permutations of the numbers 1 to n in which exactly m elements are greater than the previous element, or exactly m elements satisfy P[i] > i(assume the permutation is P).

Updated: Here

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it