olymmath

HMMT 2004 U36

  • Guts
  • Answer

For a string of PP 's and QQ 's, the value is defined to be the product of the positions of the PP 's. For example, the string PPQPQQP P Q P Q Q has value 1⋅2⋅4=81 \cdot 2 \cdot 4=8. Also, a string is called antipalindromic if writing it backwards, then turning all the PP 's into QQ 's and vice versa, produces the original string. For example, PPQPQQP P Q P Q Q is antipalindromic. There are 210022^{1002} antipalindromic strings of length 2004. Find the sum of the reciprocals of their values.

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

\frac{2005^{1002}}{2004!}

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/2004/u36 · Tag 80RS7K8XJK · Edit this page on GitHub · Keys: j next, k previous