olymmath

HMMT November 2014 E9

  • General
  • Answer

For any positive integers aa and bb, define a⊕ba \oplus b to be the result when adding aa to bb in binary (base 2), neglecting any carry-overs. For example, 20⊕14=101002⊕11102=110102=2620 \oplus 14=10100_{2} \oplus 1110_{2}=11010_{2}=26. (The operation ⊕\oplus is called the exclusive or.) Compute the sum

∑k=022014−1(k⊕⌊k2⌋)\sum_{k=0}^{2^{2014}-1}\left(k \oplus\left\lfloor\frac{k}{2}\right\rfloor\right)

Here ⌊x⌋\lfloor x\rfloor is the greatest integer not exceeding xx.

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

2^{2013}\left(2^{2014}-1\right)

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 hmnt/2014/e9 · Tag GCSRGNDY2P · Edit this page on GitHub · Keys: j next, k previous