olymmath

HMMT 2009 C10

  • Combinatorics
  • Answer

Given a rearrangement of the numbers from 1 to nn, each pair of consecutive elements aa and bb of the sequence can be either increasing (if a<ba<b ) or decreasing (if b<ab<a ). How many rearrangements of the numbers from 1 to nn have exactly two increasing pairs of consecutive elements?

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

3^{n}-(n+1) \cdot 2^{n}+n(n+1) / 2

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Similar problems

These problems have the most words in common with this statement.

Locator hmmt/2009/c10 · Tag RJRM8761WV · Edit this page on GitHub · Keys: j next, k previous