benchmarks.wiki / Public workspace

Omni-MATH / Count the number of permutations a₁a₂…a₇ of 1234567 with longest decreasing subsequence of length at most two (i.e. there does not exist i<j<k such that a_(i)>a_(j)>a_(k) ).

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

Count the number of permutations a1a2…a7a_{1} a_{2} \ldots a_{7} of 1234567 with longest decreasing subsequence of length at most two (i.e. there does not exist i<j<ki<j<k such that ai>aj>aka_{i}>a_{j}>a_{k} ).
Plain-text mathematical notation (without MathML)
Count the number of permutations a₁a₂…a₇ of 1234567 with longest decreasing subsequence of length at most two (i.e. there does not exist i<j<k such that a_(i)>a_(j)>a_(k) ).
Original LaTeX notation
Count the number of permutations $a_{1} a_{2} \ldots a_{7}$ of 1234567 with longest decreasing subsequence of length at most two (i.e. there does not exist $i<j<k$ such that $a_{i}>a_{j}>a_{k}$ ).

Discussion

Discussion

No discussion posts on this page yet. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

Source and history

Official source

initial import