A Complex Function

The first 5050 natural numbers are written on a board. You apply the following operation 4949 times, until you arrive at one final number:

  • Select any two numbers from the board, aa and bb.

  • Erase those two numbers, and replace them with ab|a-b|.

Determine the sum of all possible values for the final value remaining number on the board.

×

Problem Loading...

Note Loading...

Set Loading...